pub struct WorkloadHeartbeatStatus {
pub collection_issues: Vec<HeartbeatCollectionIssue>,
pub health: ObservedHealth,
pub lifecycle: ProviderLifecycleState,
pub message: Option<String>,
pub partial: bool,
pub stale: bool,
}Expand description
WorkloadHeartbeatStatus
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 WorkloadHeartbeatStatus
impl WorkloadHeartbeatStatus
pub fn builder() -> WorkloadHeartbeatStatus
Trait Implementations§
Source§impl Clone for WorkloadHeartbeatStatus
impl Clone for WorkloadHeartbeatStatus
Source§fn clone(&self) -> WorkloadHeartbeatStatus
fn clone(&self) -> WorkloadHeartbeatStatus
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 WorkloadHeartbeatStatus
impl Debug for WorkloadHeartbeatStatus
Source§impl<'de> Deserialize<'de> for WorkloadHeartbeatStatus
impl<'de> Deserialize<'de> for WorkloadHeartbeatStatus
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<&WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
impl From<&WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
Source§fn from(value: &WorkloadHeartbeatStatus) -> Self
fn from(value: &WorkloadHeartbeatStatus) -> Self
Converts to this type from the input type.
Source§impl From<WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
impl From<WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
Source§fn from(value: WorkloadHeartbeatStatus) -> Self
fn from(value: WorkloadHeartbeatStatus) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkloadHeartbeatStatus
impl Serialize for WorkloadHeartbeatStatus
Source§impl TryFrom<WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
impl TryFrom<WorkloadHeartbeatStatus> for WorkloadHeartbeatStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WorkloadHeartbeatStatus) -> Result<Self, ConversionError>
fn try_from(value: WorkloadHeartbeatStatus) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WorkloadHeartbeatStatus
impl RefUnwindSafe for WorkloadHeartbeatStatus
impl Send for WorkloadHeartbeatStatus
impl Sync for WorkloadHeartbeatStatus
impl Unpin for WorkloadHeartbeatStatus
impl UnsafeUnpin for WorkloadHeartbeatStatus
impl UnwindSafe for WorkloadHeartbeatStatus
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