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