pub struct CorePresence {
pub identity: CoreIdentity,
pub operation_mode: RuntimeOperationalMode,
pub healthy: bool,
pub last_seen_ms: u64,
}Expand description
Presence record acknowledged by a control-plane provider.
Fields§
§identity: CoreIdentityDistributed core identity.
operation_mode: RuntimeOperationalModeLast reported operational mode.
healthy: boolWhether the provider considers the core healthy.
last_seen_ms: u64Provider timestamp of the last accepted report.
Trait Implementations§
Source§impl Clone for CorePresence
impl Clone for CorePresence
Source§fn clone(&self) -> CorePresence
fn clone(&self) -> CorePresence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorePresence
impl Debug for CorePresence
Source§impl<'de> Deserialize<'de> for CorePresence
impl<'de> Deserialize<'de> for CorePresence
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 CorePresence
Source§impl PartialEq for CorePresence
impl PartialEq for CorePresence
Source§impl Serialize for CorePresence
impl Serialize for CorePresence
impl StructuralPartialEq for CorePresence
Auto Trait Implementations§
impl Freeze for CorePresence
impl RefUnwindSafe for CorePresence
impl Send for CorePresence
impl Sync for CorePresence
impl Unpin for CorePresence
impl UnsafeUnpin for CorePresence
impl UnwindSafe for CorePresence
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