Struct aws_sdk_appstream::types::UserSetting
source · #[non_exhaustive]pub struct UserSetting {
pub action: Option<Action>,
pub permission: Option<Permission>,
pub maximum_length: Option<i32>,
}
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
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.
maximum_length: Option<i32>
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be specified when the permission is DISABLED
.
This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.
The value can be between 1 and 20,971,520 (20 MB).
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.
sourcepub fn maximum_length(&self) -> Option<i32>
pub fn maximum_length(&self) -> Option<i32>
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE
and CLIPBOARD_COPY_TO_LOCAL_DEVICE
actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED
. This can't be specified when the permission is DISABLED
.
This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.
The value can be between 1 and 20,971,520 (20 MB).
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSetting
Auto Trait Implementations§
impl Freeze for UserSetting
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
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