Skip to main content

update

Function update 

Source
fn update(
    state: &AppState,
    actor_uid: &str,
    req: &UpdateRequest,
) -> Result<Updated, Refusal>
Expand description

Apply the fields req gives to the agent’s stored definition. Returns the names of the fields changed, and what the audit row says beyond them.