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