Skip to main content

impersonator

Function impersonator 

Source
pub fn impersonator<U: PanelUser>(cx: &Cx) -> Option<&U>
Expand description

The user acting as the signed-in user, as U; None while the signed-in user acts as themselves, or when the actor is not a U.