pub struct NetworkHeartbeatStatus {
pub collection_issues: Vec<HeartbeatCollectionIssue>,
pub health: ObservedHealth,
pub lifecycle: ProviderLifecycleState,
pub message: Option<String>,
pub partial: bool,
pub stale: bool,
}Expand description
NetworkHeartbeatStatus
JSON schema
{
"type": "object",
"required": [
"collectionIssues",
"health",
"lifecycle",
"partial",
"stale"
],
"properties": {
"collectionIssues": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HeartbeatCollectionIssue"
}
},
"health": {
"$ref": "#/components/schemas/ObservedHealth"
},
"lifecycle": {
"$ref": "#/components/schemas/ProviderLifecycleState"
},
"message": {
"type": [
"string",
"null"
]
},
"partial": {
"type": "boolean"
},
"stale": {
"type": "boolean"
}
}
}Fields§
§collection_issues: Vec<HeartbeatCollectionIssue>§health: ObservedHealth§lifecycle: ProviderLifecycleState§message: Option<String>§partial: bool§stale: boolImplementations§
Source§impl NetworkHeartbeatStatus
impl NetworkHeartbeatStatus
pub fn builder() -> NetworkHeartbeatStatus
Trait Implementations§
Source§impl Clone for NetworkHeartbeatStatus
impl Clone for NetworkHeartbeatStatus
Source§fn clone(&self) -> NetworkHeartbeatStatus
fn clone(&self) -> NetworkHeartbeatStatus
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 NetworkHeartbeatStatus
impl Debug for NetworkHeartbeatStatus
Source§impl<'de> Deserialize<'de> for NetworkHeartbeatStatus
impl<'de> Deserialize<'de> for NetworkHeartbeatStatus
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 From<&NetworkHeartbeatStatus> for NetworkHeartbeatStatus
impl From<&NetworkHeartbeatStatus> for NetworkHeartbeatStatus
Source§fn from(value: &NetworkHeartbeatStatus) -> Self
fn from(value: &NetworkHeartbeatStatus) -> Self
Converts to this type from the input type.
Source§impl From<NetworkHeartbeatStatus> for NetworkHeartbeatStatus
impl From<NetworkHeartbeatStatus> for NetworkHeartbeatStatus
Source§fn from(value: NetworkHeartbeatStatus) -> Self
fn from(value: NetworkHeartbeatStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for NetworkHeartbeatStatus
impl Serialize for NetworkHeartbeatStatus
Source§impl TryFrom<NetworkHeartbeatStatus> for NetworkHeartbeatStatus
impl TryFrom<NetworkHeartbeatStatus> for NetworkHeartbeatStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: NetworkHeartbeatStatus) -> Result<Self, ConversionError>
fn try_from(value: NetworkHeartbeatStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NetworkHeartbeatStatus
impl RefUnwindSafe for NetworkHeartbeatStatus
impl Send for NetworkHeartbeatStatus
impl Sync for NetworkHeartbeatStatus
impl Unpin for NetworkHeartbeatStatus
impl UnsafeUnpin for NetworkHeartbeatStatus
impl UnwindSafe for NetworkHeartbeatStatus
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