pub struct NodeReadinessSnapshot {
pub schema_version: String,
pub node_type: String,
pub service_id: String,
pub service_version: String,
pub process_generation: String,
pub state: NodeReadinessState,
pub ready: bool,
pub revision: u64,
pub updated_at_ms: i64,
pub reason: Option<NodeReadinessReason>,
pub details: Map<String, Value>,
}Fields§
§schema_version: String§node_type: String§service_id: String§service_version: String§process_generation: String§state: NodeReadinessState§ready: bool§revision: u64§updated_at_ms: i64§reason: Option<NodeReadinessReason>§details: Map<String, Value>Trait Implementations§
Source§impl Clone for NodeReadinessSnapshot
impl Clone for NodeReadinessSnapshot
Source§fn clone(&self) -> NodeReadinessSnapshot
fn clone(&self) -> NodeReadinessSnapshot
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 NodeReadinessSnapshot
impl Debug for NodeReadinessSnapshot
Source§impl<'de> Deserialize<'de> for NodeReadinessSnapshot
impl<'de> Deserialize<'de> for NodeReadinessSnapshot
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
Source§impl PartialEq for NodeReadinessSnapshot
impl PartialEq for NodeReadinessSnapshot
Source§impl Serialize for NodeReadinessSnapshot
impl Serialize for NodeReadinessSnapshot
impl StructuralPartialEq for NodeReadinessSnapshot
Auto Trait Implementations§
impl Freeze for NodeReadinessSnapshot
impl RefUnwindSafe for NodeReadinessSnapshot
impl Send for NodeReadinessSnapshot
impl Sync for NodeReadinessSnapshot
impl Unpin for NodeReadinessSnapshot
impl UnsafeUnpin for NodeReadinessSnapshot
impl UnwindSafe for NodeReadinessSnapshot
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