Struct aws_sdk_connect::model::InstanceSummary
source · [−]#[non_exhaustive]pub struct InstanceSummary {
pub id: Option<String>,
pub arn: Option<String>,
pub identity_management_type: Option<DirectoryType>,
pub instance_alias: Option<String>,
pub created_time: Option<DateTime>,
pub service_role: Option<String>,
pub instance_status: Option<InstanceStatus>,
pub inbound_calls_enabled: Option<bool>,
pub outbound_calls_enabled: Option<bool>,
}
Expand description
Information about the instance.
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.id: Option<String>
The identifier of the instance.
arn: Option<String>
The Amazon Resource Name (ARN) of the instance.
identity_management_type: Option<DirectoryType>
The identity management type of the instance.
instance_alias: Option<String>
The alias of the instance.
created_time: Option<DateTime>
When the instance was created.
service_role: Option<String>
The service role of the instance.
instance_status: Option<InstanceStatus>
The state of the instance.
inbound_calls_enabled: Option<bool>
Whether inbound calls are enabled.
outbound_calls_enabled: Option<bool>
Whether outbound calls are enabled.
Implementations
sourceimpl InstanceSummary
impl InstanceSummary
sourcepub fn identity_management_type(&self) -> Option<&DirectoryType>
pub fn identity_management_type(&self) -> Option<&DirectoryType>
The identity management type of the instance.
sourcepub fn instance_alias(&self) -> Option<&str>
pub fn instance_alias(&self) -> Option<&str>
The alias of the instance.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
When the instance was created.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The service role of the instance.
sourcepub fn instance_status(&self) -> Option<&InstanceStatus>
pub fn instance_status(&self) -> Option<&InstanceStatus>
The state of the instance.
sourcepub fn inbound_calls_enabled(&self) -> Option<bool>
pub fn inbound_calls_enabled(&self) -> Option<bool>
Whether inbound calls are enabled.
sourcepub fn outbound_calls_enabled(&self) -> Option<bool>
pub fn outbound_calls_enabled(&self) -> Option<bool>
Whether outbound calls are enabled.
sourceimpl InstanceSummary
impl InstanceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceSummary
Trait Implementations
sourceimpl Clone for InstanceSummary
impl Clone for InstanceSummary
sourcefn clone(&self) -> InstanceSummary
fn clone(&self) -> InstanceSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceSummary
impl Debug for InstanceSummary
sourceimpl PartialEq<InstanceSummary> for InstanceSummary
impl PartialEq<InstanceSummary> for InstanceSummary
sourcefn eq(&self, other: &InstanceSummary) -> bool
fn eq(&self, other: &InstanceSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceSummary) -> bool
fn ne(&self, other: &InstanceSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceSummary
Auto Trait Implementations
impl RefUnwindSafe for InstanceSummary
impl Send for InstanceSummary
impl Sync for InstanceSummary
impl Unpin for InstanceSummary
impl UnwindSafe for InstanceSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more