pub struct VirtualGateway {
pub connection_type: Option<String>,
pub net_to_virtual_gateway_links: Option<Vec<NetToVirtualGatewayLink>>,
pub state: Option<String>,
pub tags: Option<Vec<ResourceTag>>,
pub virtual_gateway_id: Option<String>,
}
Expand description
VirtualGateway : Information about the virtual gateway.
Fields§
§connection_type: Option<String>
The type of VPN connection supported by the virtual gateway (always ipsec.1
).
net_to_virtual_gateway_links: Option<Vec<NetToVirtualGatewayLink>>
The Net to which the virtual gateway is attached.
state: Option<String>
The state of the virtual gateway (pending
\| available
\| deleting
\| deleted
).
One or more tags associated with the virtual gateway.
virtual_gateway_id: Option<String>
The ID of the virtual gateway.
Implementations§
Source§impl VirtualGateway
impl VirtualGateway
Sourcepub fn new() -> VirtualGateway
pub fn new() -> VirtualGateway
Information about the virtual gateway.
Trait Implementations§
Source§impl Clone for VirtualGateway
impl Clone for VirtualGateway
Source§fn clone(&self) -> VirtualGateway
fn clone(&self) -> VirtualGateway
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 VirtualGateway
impl Debug for VirtualGateway
Source§impl Default for VirtualGateway
impl Default for VirtualGateway
Source§fn default() -> VirtualGateway
fn default() -> VirtualGateway
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VirtualGateway
impl<'de> Deserialize<'de> for VirtualGateway
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 PartialEq for VirtualGateway
impl PartialEq for VirtualGateway
Source§impl Serialize for VirtualGateway
impl Serialize for VirtualGateway
impl StructuralPartialEq for VirtualGateway
Auto Trait Implementations§
impl Freeze for VirtualGateway
impl RefUnwindSafe for VirtualGateway
impl Send for VirtualGateway
impl Sync for VirtualGateway
impl Unpin for VirtualGateway
impl UnwindSafe for VirtualGateway
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more