Skip to main content

status_for

Function status_for 

Source
pub(crate) fn status_for(
    state: &AppState,
    viewer: Option<&AgentDefinition>,
) -> Result<Value, String>
Expand description

The accounts, what each supports and who holds what. viewer is the agent asking, whose own level is added as yours; a caller from another machine has no agent here and gets the holders alone.