#[non_exhaustive]pub struct WorkspaceResourceAssociation {
pub associated_resource_id: Option<String>,
pub associated_resource_type: Option<WorkSpaceAssociatedResourceType>,
pub created: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
pub state: Option<AssociationState>,
pub state_reason: Option<AssociationStateReason>,
pub workspace_id: Option<String>,
}
Expand description
Describes the association between an application and a WorkSpace resource.
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.associated_resource_id: Option<String>
The identifier of the associated resource.
associated_resource_type: Option<WorkSpaceAssociatedResourceType>
The resource types of the associated resource.
created: Option<DateTime>
The time the association is created.
last_updated_time: Option<DateTime>
The time the association status was last updated.
state: Option<AssociationState>
The status of the WorkSpace resource association.
state_reason: Option<AssociationStateReason>
The reason the association deployment failed.
workspace_id: Option<String>
The identifier of the WorkSpace.
Implementations§
source§impl WorkspaceResourceAssociation
impl WorkspaceResourceAssociation
sourcepub fn associated_resource_id(&self) -> Option<&str>
pub fn associated_resource_id(&self) -> Option<&str>
The identifier of the associated resource.
sourcepub fn associated_resource_type(
&self
) -> Option<&WorkSpaceAssociatedResourceType>
pub fn associated_resource_type( &self ) -> Option<&WorkSpaceAssociatedResourceType>
The resource types of the associated resource.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time the association status was last updated.
sourcepub fn state(&self) -> Option<&AssociationState>
pub fn state(&self) -> Option<&AssociationState>
The status of the WorkSpace resource association.
sourcepub fn state_reason(&self) -> Option<&AssociationStateReason>
pub fn state_reason(&self) -> Option<&AssociationStateReason>
The reason the association deployment failed.
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The identifier of the WorkSpace.
source§impl WorkspaceResourceAssociation
impl WorkspaceResourceAssociation
sourcepub fn builder() -> WorkspaceResourceAssociationBuilder
pub fn builder() -> WorkspaceResourceAssociationBuilder
Creates a new builder-style object to manufacture WorkspaceResourceAssociation
.
Trait Implementations§
source§impl Clone for WorkspaceResourceAssociation
impl Clone for WorkspaceResourceAssociation
source§fn clone(&self) -> WorkspaceResourceAssociation
fn clone(&self) -> WorkspaceResourceAssociation
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 WorkspaceResourceAssociation
impl Debug for WorkspaceResourceAssociation
source§impl PartialEq for WorkspaceResourceAssociation
impl PartialEq for WorkspaceResourceAssociation
source§fn eq(&self, other: &WorkspaceResourceAssociation) -> bool
fn eq(&self, other: &WorkspaceResourceAssociation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkspaceResourceAssociation
Auto Trait Implementations§
impl Freeze for WorkspaceResourceAssociation
impl RefUnwindSafe for WorkspaceResourceAssociation
impl Send for WorkspaceResourceAssociation
impl Sync for WorkspaceResourceAssociation
impl Unpin for WorkspaceResourceAssociation
impl UnwindSafe for WorkspaceResourceAssociation
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.