Struct aws_sdk_opensearch::types::InboundConnectionStatus
source · #[non_exhaustive]pub struct InboundConnectionStatus {
pub status_code: Option<InboundConnectionStatusCode>,
pub message: Option<String>,
}
Expand description
The status of an inbound cross-cluster connection for OpenSearch Service.
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.status_code: Option<InboundConnectionStatusCode>
The status code for the connection. Can be one of the following:
-
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.
-
APPROVED: Inbound connection is pending acceptance by the remote domain owner.
-
PROVISIONING: Inbound connection is being provisioned.
-
ACTIVE: Inbound connection is active and ready to use.
-
REJECTING: Inbound connection rejection is in process.
-
REJECTED: Inbound connection is rejected.
-
DELETING: Inbound connection deletion is in progress.
-
DELETED: Inbound connection is deleted and can no longer be used.
message: Option<String>
Information about the connection.
Implementations§
source§impl InboundConnectionStatus
impl InboundConnectionStatus
sourcepub fn status_code(&self) -> Option<&InboundConnectionStatusCode>
pub fn status_code(&self) -> Option<&InboundConnectionStatusCode>
The status code for the connection. Can be one of the following:
-
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.
-
APPROVED: Inbound connection is pending acceptance by the remote domain owner.
-
PROVISIONING: Inbound connection is being provisioned.
-
ACTIVE: Inbound connection is active and ready to use.
-
REJECTING: Inbound connection rejection is in process.
-
REJECTED: Inbound connection is rejected.
-
DELETING: Inbound connection deletion is in progress.
-
DELETED: Inbound connection is deleted and can no longer be used.
source§impl InboundConnectionStatus
impl InboundConnectionStatus
sourcepub fn builder() -> InboundConnectionStatusBuilder
pub fn builder() -> InboundConnectionStatusBuilder
Creates a new builder-style object to manufacture InboundConnectionStatus
.
Trait Implementations§
source§impl Clone for InboundConnectionStatus
impl Clone for InboundConnectionStatus
source§fn clone(&self) -> InboundConnectionStatus
fn clone(&self) -> InboundConnectionStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InboundConnectionStatus
impl Debug for InboundConnectionStatus
source§impl PartialEq for InboundConnectionStatus
impl PartialEq for InboundConnectionStatus
source§fn eq(&self, other: &InboundConnectionStatus) -> bool
fn eq(&self, other: &InboundConnectionStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InboundConnectionStatus
Auto Trait Implementations§
impl Freeze for InboundConnectionStatus
impl RefUnwindSafe for InboundConnectionStatus
impl Send for InboundConnectionStatus
impl Sync for InboundConnectionStatus
impl Unpin for InboundConnectionStatus
impl UnwindSafe for InboundConnectionStatus
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