Struct aws_sdk_workspacesweb::model::UserSettings
source · [−]#[non_exhaustive]pub struct UserSettings {
pub user_settings_arn: Option<String>,
pub associated_portal_arns: Option<Vec<String>>,
pub copy_allowed: Option<EnabledType>,
pub paste_allowed: Option<EnabledType>,
pub download_allowed: Option<EnabledType>,
pub upload_allowed: Option<EnabledType>,
pub print_allowed: Option<EnabledType>,
}
Expand description
A user settings resource that can be associated with a web portal. Once associated with a web portal, user settings control how users can transfer data between a streaming session and the their local devices.
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.user_settings_arn: Option<String>
The ARN of the user settings.
associated_portal_arns: Option<Vec<String>>
A list of web portal ARNs that this user settings is associated with.
copy_allowed: Option<EnabledType>
Specifies whether the user can copy text from the streaming session to the local device.
paste_allowed: Option<EnabledType>
Specifies whether the user can paste text from the local device to the streaming session.
download_allowed: Option<EnabledType>
Specifies whether the user can download files from the streaming session to the local device.
upload_allowed: Option<EnabledType>
Specifies whether the user can upload files from the local device to the streaming session.
print_allowed: Option<EnabledType>
Specifies whether the user can print to the local device.
Implementations
sourceimpl UserSettings
impl UserSettings
sourcepub fn user_settings_arn(&self) -> Option<&str>
pub fn user_settings_arn(&self) -> Option<&str>
The ARN of the user settings.
sourcepub fn associated_portal_arns(&self) -> Option<&[String]>
pub fn associated_portal_arns(&self) -> Option<&[String]>
A list of web portal ARNs that this user settings is associated with.
sourcepub fn copy_allowed(&self) -> Option<&EnabledType>
pub fn copy_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can copy text from the streaming session to the local device.
sourcepub fn paste_allowed(&self) -> Option<&EnabledType>
pub fn paste_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can paste text from the local device to the streaming session.
sourcepub fn download_allowed(&self) -> Option<&EnabledType>
pub fn download_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can download files from the streaming session to the local device.
sourcepub fn upload_allowed(&self) -> Option<&EnabledType>
pub fn upload_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can upload files from the local device to the streaming session.
sourcepub fn print_allowed(&self) -> Option<&EnabledType>
pub fn print_allowed(&self) -> Option<&EnabledType>
Specifies whether the user can print to the local device.
sourceimpl UserSettings
impl UserSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UserSettings
Trait Implementations
sourceimpl Clone for UserSettings
impl Clone for UserSettings
sourcefn clone(&self) -> UserSettings
fn clone(&self) -> UserSettings
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 UserSettings
impl Debug for UserSettings
sourceimpl PartialEq<UserSettings> for UserSettings
impl PartialEq<UserSettings> for UserSettings
sourcefn eq(&self, other: &UserSettings) -> bool
fn eq(&self, other: &UserSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UserSettings) -> bool
fn ne(&self, other: &UserSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for UserSettings
Auto Trait Implementations
impl RefUnwindSafe for UserSettings
impl Send for UserSettings
impl Sync for UserSettings
impl Unpin for UserSettings
impl UnwindSafe for UserSettings
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