pub struct ConfigView {
pub service: String,
pub instance: String,
pub revision: u64,
pub confirm_floor_s: u64,
pub pending: Option<Pending>,
pub last_change: Option<LastChange>,
pub desired: Option<DesiredReport>,
pub groups: Vec<GroupView>,
}Expand description
The read-back, state/view (§2.3).
Fields§
§service: StringThe owner’s address, <system>/<service>.
instance: StringIts instance id.
revision: u64The count of acts that moved its running values.
confirm_floor_s: u64Its floor, in seconds (§2.8).
pending: Option<Pending>The pending change, if any.
last_change: Option<LastChange>The last change, if any.
desired: Option<DesiredReport>The desired report, for an owner that converges desired state.
groups: Vec<GroupView>The groups.
Trait Implementations§
Source§impl Clone for ConfigView
impl Clone for ConfigView
Source§impl Debug for ConfigView
impl Debug for ConfigView
Source§impl<'de> Deserialize<'de> for ConfigView
impl<'de> Deserialize<'de> for ConfigView
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConfigView
Source§impl PartialEq for ConfigView
impl PartialEq for ConfigView
Source§impl Serialize for ConfigView
impl Serialize for ConfigView
impl StructuralPartialEq for ConfigView
Auto Trait Implementations§
impl Forget for ConfigView
impl Freeze for ConfigViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GroupView>: Freeze,
impl Move for ConfigView
impl RefUnwindSafe for ConfigView
impl Send for ConfigViewwhere
RawVecInner: Send,
impl Sync for ConfigViewwhere
RawVecInner: Sync,
impl Unpin for ConfigView
impl UnsafeUnpin for ConfigViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GroupView>: UnsafeUnpin,
impl UnwindSafe for ConfigViewwhere
RawVecInner: 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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