Skip to main content

impersonator

Function impersonator 

Source
pub fn impersonator<U>(cx: &Cx) -> Option<&U>
where U: PanelUser,
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.