pub struct Start {
pub service: String,
pub instance: String,
pub schema: Schema,
pub startup: BTreeMap<String, BTreeMap<String, (Value, Source)>>,
pub overlay: BTreeMap<String, BTreeMap<String, Value>>,
pub floor_s: u64,
pub apply_after: Duration,
pub persist: bool,
pub events: Vec<Time>,
}Expand description
What an owner starts from: its address, schema, startup layers and device facts.
Fields§
§service: StringThe owner’s address, <system>/<service>.
instance: StringThe instance id; tokens are minted <instance>-<n>.
schema: SchemaThe schema.
startup: BTreeMap<String, BTreeMap<String, (Value, Source)>>The startup file’s and the defaults’ values, {group: {parameter: (value, source)}}, each source file or default. A parameter
absent here starts unknown.
overlay: BTreeMap<String, BTreeMap<String, Value>>The persisted layer, {group: {parameter: value}}.
floor_s: u64The floor, in seconds, at least 1 (§2.8).
apply_after: DurationHow long after receiving a reach set the device applies it: the
apply_at it states (§2.9). Less than the floor, so that a new
reach change applies before its deadline.
persist: boolWhether the owner has a persisted layer (§2.13).
events: Vec<Time>The change events already published, for the rate (§2.17).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Start
impl Freeze for Startwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<GroupDecl>: Freeze,
*const LeafNode<String, BTreeMap<String, (Value, Source)>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, BTreeMap<String, (Value, Source)>)>>: Freeze,
*const LeafNode<String, BTreeMap<String, Value>> is !null: Freeze,
PhantomData<Box<(String, BTreeMap<String, Value>)>>: Freeze,
PhantomData<Time>: Freeze,
impl Move for Start
impl RefUnwindSafe for Start
impl Send for Start
impl Sync for Start
impl Unpin for Start
impl UnsafeUnpin for Startwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<GroupDecl>: UnsafeUnpin,
*const LeafNode<String, BTreeMap<String, (Value, Source)>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, BTreeMap<String, (Value, Source)>)>>: UnsafeUnpin,
*const LeafNode<String, BTreeMap<String, Value>> is !null: UnsafeUnpin,
PhantomData<Box<(String, BTreeMap<String, Value>)>>: UnsafeUnpin,
PhantomData<Time>: UnsafeUnpin,
impl UnwindSafe for Startwhere
RawVecInner: UnwindSafe,
BTreeMap<String, BTreeMap<String, (Value, Source)>>: UnwindSafe,
BTreeMap<String, BTreeMap<String, Value>>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more