#[non_exhaustive]pub struct VpnGatewayStatus {
pub vpn_connections: Vec<VpnGatewayStatusVpnConnection>,
/* private fields */
}Available on crate feature
vpn-gateways only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vpn_connections: Vec<VpnGatewayStatusVpnConnection>Output only. List of VPN connection for this VpnGateway.
Implementations§
Source§impl VpnGatewayStatus
impl VpnGatewayStatus
pub fn new() -> Self
Sourcepub fn set_vpn_connections<T, V>(self, v: T) -> Self
pub fn set_vpn_connections<T, V>(self, v: T) -> Self
Sets the value of vpn_connections.
§Example
ⓘ
use google_cloud_compute_v1::model::VpnGatewayStatusVpnConnection;
let x = VpnGatewayStatus::new()
.set_vpn_connections([
VpnGatewayStatusVpnConnection::default()/* use setters */,
VpnGatewayStatusVpnConnection::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for VpnGatewayStatus
impl Clone for VpnGatewayStatus
Source§fn clone(&self) -> VpnGatewayStatus
fn clone(&self) -> VpnGatewayStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 VpnGatewayStatus
impl Debug for VpnGatewayStatus
Source§impl Default for VpnGatewayStatus
impl Default for VpnGatewayStatus
Source§fn default() -> VpnGatewayStatus
fn default() -> VpnGatewayStatus
Returns the “default value” for a type. Read more
Source§impl Message for VpnGatewayStatus
impl Message for VpnGatewayStatus
Source§impl PartialEq for VpnGatewayStatus
impl PartialEq for VpnGatewayStatus
impl StructuralPartialEq for VpnGatewayStatus
Auto Trait Implementations§
impl Freeze for VpnGatewayStatus
impl RefUnwindSafe for VpnGatewayStatus
impl Send for VpnGatewayStatus
impl Sync for VpnGatewayStatus
impl Unpin for VpnGatewayStatus
impl UnwindSafe for VpnGatewayStatus
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