Skip to main content

BoardStation

Struct BoardStation 

Source
pub struct BoardStation {
Show 25 fields pub station_id: String, pub handlers: Vec<String>, pub healthy: bool, pub headquarters: bool, pub seen: f64, pub roles: Vec<String>, pub running: usize, pub capacity: usize, pub operations: Vec<String>, pub theaters: Vec<BoardTheater>, pub resources: Option<Resources>, pub config: Option<ConfigStatus>, pub head_of_station: Option<StationReport>, pub issues_weakened: Vec<String>, pub peers_weakened: Vec<String>, pub settings_status: Vec<SettingsNotice>, 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>, pub degraded: Vec<Degradation>, pub queue: Vec<BoardQueueEntry>,
}
Expand description

One daemon Station and the Operations it hosts for this user.

Fields§

§station_id: String

Daemon Station identity.

§handlers: Vec<String>

The Agent handlers it has loaded, as it reported at check-in.

§healthy: bool

Whether the latest check-in is within the 45-second health window.

§headquarters: bool

Whether this Station currently holds the elected Headquarters lease.

§seen: f64

Unix timestamp of the last Station check-in.

§roles: Vec<String>

Station roles reported at check-in.

§running: usize

Active runs reported at check-in.

§capacity: usize

Mission execution capacity reported at check-in.

§operations: Vec<String>

Operations visible to this user that the Station can host.

§theaters: Vec<BoardTheater>

Theaters the Station reaches; its own host is always the local Theater.

§resources: Option<Resources>

The host’s CPUs, load and memory as the Station last sampled them, with the sample time; absent from a Station that does not report them.

§config: Option<ConfigStatus>

The configuration the Station runs: its roster revision, what it refused and which changed files wait for a restart; absent from a Station that does not report it.

§head_of_station: Option<StationReport>

The latest report its Head of Station filed: a summary and typed findings; absent until one is filed.

§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; empty when whole or when the caller may not read the Station.

§settings_status: Vec<SettingsNotice>

Classified settings reported by a Station that supports them.

§bootstrap_weakened: Vec<String>

Original named check-in lists, for clients that read the unclassified reports.

§tls_weakened: Vec<String>

Original Station TLS policy report.

§agents_weakened: Vec<String>

Original handler settings report.

§plugins_weakened: Vec<String>

Original plugin scan report.

§assistant_weakened: Vec<String>

Original Moneypenny settings report.

§cables_weakened: Vec<String>

Original Cable relay settings report.

§secrets_weakened: Vec<String>

Original sealing trust report.

§degraded: Vec<Degradation>

What keeps the Station from being whole while it runs: a refused library, a Source it cannot poll or write to, Runs making no progress. Empty when it is whole; only a person who reads the Station sees it.

§queue: Vec<BoardQueueEntry>

The Missions waiting in the Station’s own queue, to start or to be resumed, of the Operations this user may read.

Trait Implementations§

Source§

impl Clone for BoardStation

Source§

fn clone(&self) -> BoardStation

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BoardStation

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for BoardStation

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<BoardStation, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for BoardStation

Source§

fn eq(&self, other: &BoardStation) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Schema for BoardStation

Source§

fn kind(__alloc: Alloc) -> KindBuilder

The kind describing values of this type.
§

fn schema_in(alloc: Alloc) -> Result<Value, ValueError>

The whole schema: the fields a consumer fills in, as a root document with its dialect declared. Read more
§

fn schema() -> Result<Value, ValueError>

The whole schema, built through the crate’s own allocator. See schema_in.
Source§

impl Serialize for BoardStation

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for BoardStation

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoMaybeUndefined<T> for T

§

fn into_maybe_undefined(self) -> MaybeUndefined<T>

Converts this value into a three-state builder argument.
§

impl<T> IntoOption<T> for T

§

fn into_option(self) -> Option<T>

Converts this value into an optional builder argument.
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more