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