pub struct AuroraPostgresHeartbeatData {
pub cluster_identifier: String,
pub endpoint: Option<String>,
pub engine_version: Option<String>,
pub never_pauses: bool,
pub serverless_capacity: Option<f64>,
pub status: PostgresHeartbeatStatus,
}Expand description
AuroraPostgresHeartbeatData
JSON schema
{
"type": "object",
"required": [
"clusterIdentifier",
"neverPauses",
"status"
],
"properties": {
"clusterIdentifier": {
"type": "string"
},
"endpoint": {
"type": [
"string",
"null"
]
},
"engineVersion": {
"type": [
"string",
"null"
]
},
"neverPauses": {
"description": "True when a `minCapacity: 0` instance has not reached 0 ACU over the observation\nwindow — it is silently paying always-on prices (auto-pause verification).",
"type": "boolean"
},
"serverlessCapacity": {
"description": "Latest sampled `ServerlessDatabaseCapacity` (ACU).",
"type": [
"number",
"null"
],
"format": "double"
},
"status": {
"$ref": "#/components/schemas/PostgresHeartbeatStatus"
}
}
}Fields§
§cluster_identifier: String§endpoint: Option<String>§engine_version: Option<String>§never_pauses: boolTrue when a minCapacity: 0 instance has not reached 0 ACU over the observation
window — it is silently paying always-on prices (auto-pause verification).
serverless_capacity: Option<f64>Latest sampled ServerlessDatabaseCapacity (ACU).
status: PostgresHeartbeatStatusImplementations§
Trait Implementations§
Source§impl Clone for AuroraPostgresHeartbeatData
impl Clone for AuroraPostgresHeartbeatData
Source§fn clone(&self) -> AuroraPostgresHeartbeatData
fn clone(&self) -> AuroraPostgresHeartbeatData
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 AuroraPostgresHeartbeatData
impl Debug for AuroraPostgresHeartbeatData
Source§impl<'de> Deserialize<'de> for AuroraPostgresHeartbeatData
impl<'de> Deserialize<'de> for AuroraPostgresHeartbeatData
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<&AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
impl From<&AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
Source§fn from(value: &AuroraPostgresHeartbeatData) -> Self
fn from(value: &AuroraPostgresHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
impl From<AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
Source§fn from(value: AuroraPostgresHeartbeatData) -> Self
fn from(value: AuroraPostgresHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
impl TryFrom<AuroraPostgresHeartbeatData> for AuroraPostgresHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AuroraPostgresHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: AuroraPostgresHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AuroraPostgresHeartbeatData
impl RefUnwindSafe for AuroraPostgresHeartbeatData
impl Send for AuroraPostgresHeartbeatData
impl Sync for AuroraPostgresHeartbeatData
impl Unpin for AuroraPostgresHeartbeatData
impl UnsafeUnpin for AuroraPostgresHeartbeatData
impl UnwindSafe for AuroraPostgresHeartbeatData
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