Struct aws_sdk_directconnect::types::VirtualGateway
source · #[non_exhaustive]pub struct VirtualGateway {
pub virtual_gateway_id: Option<String>,
pub virtual_gateway_state: Option<String>,
}Expand description
Information about a virtual private gateway for a private virtual interface.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.virtual_gateway_id: Option<String>The ID of the virtual private gateway.
virtual_gateway_state: Option<String>The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
Implementations§
source§impl VirtualGateway
impl VirtualGateway
sourcepub fn virtual_gateway_id(&self) -> Option<&str>
pub fn virtual_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway.
sourcepub fn virtual_gateway_state(&self) -> Option<&str>
pub fn virtual_gateway_state(&self) -> Option<&str>
The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
source§impl VirtualGateway
impl VirtualGateway
sourcepub fn builder() -> VirtualGatewayBuilder
pub fn builder() -> VirtualGatewayBuilder
Creates a new builder-style object to manufacture VirtualGateway.
Trait Implementations§
source§impl Clone for VirtualGateway
impl Clone for VirtualGateway
source§fn clone(&self) -> VirtualGateway
fn clone(&self) -> VirtualGateway
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VirtualGateway
impl Debug for VirtualGateway
source§impl PartialEq for VirtualGateway
impl PartialEq for VirtualGateway
source§fn eq(&self, other: &VirtualGateway) -> bool
fn eq(&self, other: &VirtualGateway) -> bool
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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