pub struct GcpVpcNetworkHeartbeatData {
pub cidr_block: Option<String>,
pub cloud_nat_name: Option<String>,
pub firewall_name: Option<String>,
pub is_byo_vpc: bool,
pub network_name: Option<String>,
pub network_self_link: Option<String>,
pub region: Option<String>,
pub router_name: Option<String>,
pub status: NetworkHeartbeatStatus,
pub subnetwork_name: Option<String>,
pub subnetwork_self_link: Option<String>,
}Expand description
GcpVpcNetworkHeartbeatData
JSON schema
{
"type": "object",
"required": [
"isByoVpc",
"status"
],
"properties": {
"cidrBlock": {
"type": [
"string",
"null"
]
},
"cloudNatName": {
"type": [
"string",
"null"
]
},
"firewallName": {
"type": [
"string",
"null"
]
},
"isByoVpc": {
"type": "boolean"
},
"networkName": {
"type": [
"string",
"null"
]
},
"networkSelfLink": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"routerName": {
"type": [
"string",
"null"
]
},
"status": {
"$ref": "#/components/schemas/NetworkHeartbeatStatus"
},
"subnetworkName": {
"type": [
"string",
"null"
]
},
"subnetworkSelfLink": {
"type": [
"string",
"null"
]
}
}
}Fields§
§cidr_block: Option<String>§cloud_nat_name: Option<String>§firewall_name: Option<String>§is_byo_vpc: bool§network_name: Option<String>§network_self_link: Option<String>§region: Option<String>§router_name: Option<String>§status: NetworkHeartbeatStatus§subnetwork_name: Option<String>§subnetwork_self_link: Option<String>Implementations§
Source§impl GcpVpcNetworkHeartbeatData
impl GcpVpcNetworkHeartbeatData
pub fn builder() -> GcpVpcNetworkHeartbeatData
Trait Implementations§
Source§impl Clone for GcpVpcNetworkHeartbeatData
impl Clone for GcpVpcNetworkHeartbeatData
Source§fn clone(&self) -> GcpVpcNetworkHeartbeatData
fn clone(&self) -> GcpVpcNetworkHeartbeatData
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 GcpVpcNetworkHeartbeatData
impl Debug for GcpVpcNetworkHeartbeatData
Source§impl<'de> Deserialize<'de> for GcpVpcNetworkHeartbeatData
impl<'de> Deserialize<'de> for GcpVpcNetworkHeartbeatData
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<&GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
impl From<&GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
Source§fn from(value: &GcpVpcNetworkHeartbeatData) -> Self
fn from(value: &GcpVpcNetworkHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
impl From<GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
Source§fn from(value: GcpVpcNetworkHeartbeatData) -> Self
fn from(value: GcpVpcNetworkHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
impl TryFrom<GcpVpcNetworkHeartbeatData> for GcpVpcNetworkHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GcpVpcNetworkHeartbeatData) -> Result<Self, ConversionError>
fn try_from(value: GcpVpcNetworkHeartbeatData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpVpcNetworkHeartbeatData
impl RefUnwindSafe for GcpVpcNetworkHeartbeatData
impl Send for GcpVpcNetworkHeartbeatData
impl Sync for GcpVpcNetworkHeartbeatData
impl Unpin for GcpVpcNetworkHeartbeatData
impl UnsafeUnpin for GcpVpcNetworkHeartbeatData
impl UnwindSafe for GcpVpcNetworkHeartbeatData
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