#[non_exhaustive]pub struct ConfirmConnectionOutput {
pub connection_state: Option<ConnectionState>,
/* private fields */
}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.connection_state: Option<ConnectionState>The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
Implementations§
source§impl ConfirmConnectionOutput
impl ConfirmConnectionOutput
sourcepub fn connection_state(&self) -> Option<&ConnectionState>
pub fn connection_state(&self) -> Option<&ConnectionState>
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
source§impl ConfirmConnectionOutput
impl ConfirmConnectionOutput
sourcepub fn builder() -> ConfirmConnectionOutputBuilder
pub fn builder() -> ConfirmConnectionOutputBuilder
Creates a new builder-style object to manufacture ConfirmConnectionOutput.
Trait Implementations§
source§impl Clone for ConfirmConnectionOutput
impl Clone for ConfirmConnectionOutput
source§fn clone(&self) -> ConfirmConnectionOutput
fn clone(&self) -> ConfirmConnectionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConfirmConnectionOutput
impl Debug for ConfirmConnectionOutput
source§impl PartialEq for ConfirmConnectionOutput
impl PartialEq for ConfirmConnectionOutput
source§fn eq(&self, other: &ConfirmConnectionOutput) -> bool
fn eq(&self, other: &ConfirmConnectionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ConfirmConnectionOutput
impl RequestId for ConfirmConnectionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ConfirmConnectionOutput
Auto Trait Implementations§
impl Freeze for ConfirmConnectionOutput
impl RefUnwindSafe for ConfirmConnectionOutput
impl Send for ConfirmConnectionOutput
impl Sync for ConfirmConnectionOutput
impl Unpin for ConfirmConnectionOutput
impl UnwindSafe for ConfirmConnectionOutput
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> 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