#[non_exhaustive]pub struct AgentView {Show 16 fields
pub agent: String,
pub posted: bool,
pub operation: AgentTally,
pub every_operation: AgentTally,
pub by_clearance: BTreeMap<String, AgentTally>,
pub last_mission_at: Option<f64>,
pub model_history: Vec<ModelTenure>,
pub routes: Vec<AgentRoute>,
pub retirement: Option<RetirementNotice>,
pub clearance: Option<String>,
pub configured_clearance: Option<String>,
pub grant: Option<ClearanceGrant>,
pub promotion: Option<ApprovalRequest>,
pub holds: Vec<RosterHold>,
pub grant_unreadable: bool,
pub quarantined: Option<QuarantineNotice>,
}Expand description
One Agent of an Operation and its record there.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.agent: StringThe Agent codename.
posted: boolWhether the Headquarters Station’s roster posts it to the Operation.
operation: AgentTallyIts outcomes in this Operation.
every_operation: AgentTallyIts outcomes outside any Operation, and quarantines in every Operation.
by_clearance: BTreeMap<String, AgentTally>Its outcomes in this Operation by the clearance it worked at.
last_mission_at: Option<f64>When its latest Mission in this Operation ended, as Unix seconds.
model_history: Vec<ModelTenure>The models that occupied the codename in this Operation, oldest first, with what each did here. A model that has finished no Mission here is not among them.
routes: Vec<AgentRoute>How its roster record says it reaches its model, from the Headquarters Station’s check-in.
Empty for an Agent the check-in does not post, and for a person without roster.read.
retirement: Option<RetirementNotice>Its retirement, from the Headquarters Station’s check-in, once it is near or due.
clearance: Option<String>The clearance it works at in this Operation, from the Headquarters Station’s check-in.
configured_clearance: Option<String>Its configured clearance, from the same check-in.
grant: Option<ClearanceGrant>Its clearance grant in this Operation, raised by green ink or lowered by a person.
promotion: Option<ApprovalRequest>M’s promotion request for it waiting for green ink, if any.
holds: Vec<RosterHold>Holds that keep it, or a route of it, out of use here until a person lifts them. A hold
on one route is left out for a person without roster.read.
grant_unreadable: boolIts grant could not be read: Stations work it at desk, and so does this view.
quarantined: Option<QuarantineNotice>Why it is quarantined here, who quarantined it and when, while it is: the record of this Operation or of every Operation.