Struct aws_sdk_amp::types::WorkspaceSummary
source · #[non_exhaustive]pub struct WorkspaceSummary {
pub workspace_id: String,
pub alias: Option<String>,
pub arn: String,
pub status: Option<WorkspaceStatus>,
pub created_at: DateTime,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Represents a summary of the properties of a workspace.
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.workspace_id: String
Unique string identifying this workspace.
alias: Option<String>
Alias of this workspace.
arn: String
The AmazonResourceName of this workspace.
status: Option<WorkspaceStatus>
The status of this workspace.
created_at: DateTime
The time when the workspace was created.
The tags of this workspace.
Implementations§
source§impl WorkspaceSummary
impl WorkspaceSummary
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
Unique string identifying this workspace.
sourcepub fn status(&self) -> Option<&WorkspaceStatus>
pub fn status(&self) -> Option<&WorkspaceStatus>
The status of this workspace.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time when the workspace was created.
The tags of this workspace.
source§impl WorkspaceSummary
impl WorkspaceSummary
sourcepub fn builder() -> WorkspaceSummaryBuilder
pub fn builder() -> WorkspaceSummaryBuilder
Creates a new builder-style object to manufacture WorkspaceSummary
.
Trait Implementations§
source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
source§fn clone(&self) -> WorkspaceSummary
fn clone(&self) -> WorkspaceSummary
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 WorkspaceSummary
impl Debug for WorkspaceSummary
source§impl PartialEq for WorkspaceSummary
impl PartialEq for WorkspaceSummary
source§fn eq(&self, other: &WorkspaceSummary) -> bool
fn eq(&self, other: &WorkspaceSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkspaceSummary
Auto Trait Implementations§
impl RefUnwindSafe for WorkspaceSummary
impl Send for WorkspaceSummary
impl Sync for WorkspaceSummary
impl Unpin for WorkspaceSummary
impl UnwindSafe for WorkspaceSummary
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.