Struct aws_sdk_workspaces::types::WorkSpaceApplication
source · #[non_exhaustive]pub struct WorkSpaceApplication {
pub application_id: Option<String>,
pub created: Option<DateTime>,
pub description: Option<String>,
pub license_type: Option<WorkSpaceApplicationLicenseType>,
pub name: Option<String>,
pub owner: Option<String>,
pub state: Option<WorkSpaceApplicationState>,
pub supported_compute_type_names: Option<Vec<Compute>>,
pub supported_operating_system_names: Option<Vec<OperatingSystemName>>,
}
Expand description
Describes the WorkSpace application.
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.application_id: Option<String>
The identifier of the application.
created: Option<DateTime>
The time the application is created.
description: Option<String>
The description of the WorkSpace application.
license_type: Option<WorkSpaceApplicationLicenseType>
The license availability for the applications.
name: Option<String>
The name of the WorkSpace application.
owner: Option<String>
The owner of the WorkSpace application.
state: Option<WorkSpaceApplicationState>
The status of WorkSpace application.
supported_compute_type_names: Option<Vec<Compute>>
The supported compute types of the WorkSpace application.
supported_operating_system_names: Option<Vec<OperatingSystemName>>
The supported operating systems of the WorkSpace application.
Implementations§
source§impl WorkSpaceApplication
impl WorkSpaceApplication
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The identifier of the application.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the WorkSpace application.
sourcepub fn license_type(&self) -> Option<&WorkSpaceApplicationLicenseType>
pub fn license_type(&self) -> Option<&WorkSpaceApplicationLicenseType>
The license availability for the applications.
sourcepub fn state(&self) -> Option<&WorkSpaceApplicationState>
pub fn state(&self) -> Option<&WorkSpaceApplicationState>
The status of WorkSpace application.
sourcepub fn supported_compute_type_names(&self) -> &[Compute]
pub fn supported_compute_type_names(&self) -> &[Compute]
The supported compute types of the WorkSpace application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_compute_type_names.is_none()
.
sourcepub fn supported_operating_system_names(&self) -> &[OperatingSystemName]
pub fn supported_operating_system_names(&self) -> &[OperatingSystemName]
The supported operating systems of the WorkSpace application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_operating_system_names.is_none()
.
source§impl WorkSpaceApplication
impl WorkSpaceApplication
sourcepub fn builder() -> WorkSpaceApplicationBuilder
pub fn builder() -> WorkSpaceApplicationBuilder
Creates a new builder-style object to manufacture WorkSpaceApplication
.
Trait Implementations§
source§impl Clone for WorkSpaceApplication
impl Clone for WorkSpaceApplication
source§fn clone(&self) -> WorkSpaceApplication
fn clone(&self) -> WorkSpaceApplication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkSpaceApplication
impl Debug for WorkSpaceApplication
source§impl PartialEq for WorkSpaceApplication
impl PartialEq for WorkSpaceApplication
source§fn eq(&self, other: &WorkSpaceApplication) -> bool
fn eq(&self, other: &WorkSpaceApplication) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkSpaceApplication
Auto Trait Implementations§
impl Freeze for WorkSpaceApplication
impl RefUnwindSafe for WorkSpaceApplication
impl Send for WorkSpaceApplication
impl Sync for WorkSpaceApplication
impl Unpin for WorkSpaceApplication
impl UnwindSafe for WorkSpaceApplication
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