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