#[non_exhaustive]pub struct ConnectionAliasPermission {
pub shared_account_id: Option<String>,
pub allow_association: Option<bool>,
}
Expand description
Describes the permissions for a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
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.The identifier of the Amazon Web Services account that the connection alias is shared with.
allow_association: Option<bool>
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
Implementations
sourceimpl ConnectionAliasPermission
impl ConnectionAliasPermission
The identifier of the Amazon Web Services account that the connection alias is shared with.
sourcepub fn allow_association(&self) -> Option<bool>
pub fn allow_association(&self) -> Option<bool>
Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
sourceimpl ConnectionAliasPermission
impl ConnectionAliasPermission
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConnectionAliasPermission
Trait Implementations
sourceimpl Clone for ConnectionAliasPermission
impl Clone for ConnectionAliasPermission
sourcefn clone(&self) -> ConnectionAliasPermission
fn clone(&self) -> ConnectionAliasPermission
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 ConnectionAliasPermission
impl Debug for ConnectionAliasPermission
sourceimpl PartialEq<ConnectionAliasPermission> for ConnectionAliasPermission
impl PartialEq<ConnectionAliasPermission> for ConnectionAliasPermission
sourcefn eq(&self, other: &ConnectionAliasPermission) -> bool
fn eq(&self, other: &ConnectionAliasPermission) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConnectionAliasPermission) -> bool
fn ne(&self, other: &ConnectionAliasPermission) -> bool
This method tests for !=
.
impl StructuralPartialEq for ConnectionAliasPermission
Auto Trait Implementations
impl RefUnwindSafe for ConnectionAliasPermission
impl Send for ConnectionAliasPermission
impl Sync for ConnectionAliasPermission
impl Unpin for ConnectionAliasPermission
impl UnwindSafe for ConnectionAliasPermission
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