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