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