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