Struct aws_sdk_appstream::types::UserSetting
source · #[non_exhaustive]pub struct UserSetting {
pub action: Option<Action>,
pub permission: Option<Permission>,
}
Expand description
Describes an action and whether the action is enabled or disabled for users during their streaming sessions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action: Option<Action>
The action that is enabled or disabled.
permission: Option<Permission>
Indicates whether the action is enabled or disabled.
Implementations§
source§impl UserSetting
impl UserSetting
sourcepub fn permission(&self) -> Option<&Permission>
pub fn permission(&self) -> Option<&Permission>
Indicates whether the action is enabled or disabled.
source§impl UserSetting
impl UserSetting
sourcepub fn builder() -> UserSettingBuilder
pub fn builder() -> UserSettingBuilder
Creates a new builder-style object to manufacture UserSetting
.
Trait Implementations§
source§impl Clone for UserSetting
impl Clone for UserSetting
source§fn clone(&self) -> UserSetting
fn clone(&self) -> UserSetting
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UserSetting
impl Debug for UserSetting
source§impl PartialEq for UserSetting
impl PartialEq for UserSetting
source§fn eq(&self, other: &UserSetting) -> bool
fn eq(&self, other: &UserSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSetting
Auto Trait Implementations§
impl RefUnwindSafe for UserSetting
impl Send for UserSetting
impl Sync for UserSetting
impl Unpin for UserSetting
impl UnwindSafe for UserSetting
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.