pub struct CheckIn {Show 22 fields
pub host: Option<String>,
pub platform: Option<String>,
pub process_id: Option<u32>,
pub roles: Vec<String>,
pub capacity: usize,
pub running: usize,
pub labels: BTreeMap<String, String>,
pub operations: Vec<String>,
pub handlers: Option<Vec<String>>,
pub runnable_operations: Vec<String>,
pub operation_lineage: Option<BTreeMap<String, Vec<String>>>,
pub operation_names: BTreeMap<String, String>,
pub source_facts: Option<PublishedSources>,
pub issues_weakened: Vec<String>,
pub peers_weakened: Vec<String>,
pub bootstrap_weakened: Vec<String>,
pub tls_weakened: Vec<String>,
pub agents_weakened: Vec<String>,
pub plugins_weakened: Vec<String>,
pub assistant_weakened: Vec<String>,
pub cables_weakened: Vec<String>,
pub secrets_weakened: Vec<String>,
}Expand description
The plain-data keys of a Station’s check-in. A key a Station leaves out reads as its default, and a key that does not read claims nothing, so an older or newer peer is understood as far as it goes.
Fields§
§host: Option<String>The Station’s host name.
platform: Option<String>The operating system it runs on.
process_id: Option<u32>Its process ID.
roles: Vec<String>Its roles.
capacity: usizeHow many Missions it runs at once; 0 for a Station that runs none.
running: usizeHow many Runs it has running.
labels: BTreeMap<String, String>Its labels.
operations: Vec<String>The Operations whose checkout it has.
handlers: Option<Vec<String>>The AgentHandler providers it can run; absent when it did not report them.
runnable_operations: Vec<String>Every Operation it may place a Mission of, which is wider than operations.
operation_lineage: Option<BTreeMap<String, Vec<String>>>Every roster Operation’s ancestors, nearest first; absent when they did not fit the check-in’s budget.
operation_names: BTreeMap<String, String>The names Operations are called by.
source_facts: Option<PublishedSources>What the Source providers say of each instance; absent when it did not fit the check-in’s budget.
issues_weakened: Vec<String>Each Operation’s issue settings looser than the default, one line each.
peers_weakened: Vec<String>Peer-pairing settings looser than the strict defaults, one line each.
bootstrap_weakened: Vec<String>Bootstrap settings looser than the strict defaults, one line each.
tls_weakened: Vec<String>The Station’s TLS policy where it is looser than the default, one line each.
agents_weakened: Vec<String>Handler settings looser than the default, one line each.
plugins_weakened: Vec<String>What the plugin scan accepted that the strict profile refuses, one line each.
assistant_weakened: Vec<String>Moneypenny’s settings looser than the default, one line each.
cables_weakened: Vec<String>Cable relay settings looser than the default, one line each.
secrets_weakened: Vec<String>Sealing trust looser than the default, one line each.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckIn
impl<'de> Deserialize<'de> for CheckIn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl FromValue for CheckIn
impl FromValue for CheckIn
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.