Struct aws_sdk_amp::types::WorkspaceSummary
source · #[non_exhaustive]pub struct WorkspaceSummary {
pub workspace_id: Option<String>,
pub alias: Option<String>,
pub arn: Option<String>,
pub status: Option<WorkspaceStatus>,
pub created_at: Option<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: Option<String>
Unique string identifying this workspace.
alias: Option<String>
Alias of this workspace.
arn: Option<String>
The AmazonResourceName of this workspace.
status: Option<WorkspaceStatus>
The status of this workspace.
created_at: Option<DateTime>
The time when the workspace was created.
The tags of this workspace.
Implementations§
source§impl WorkspaceSummary
impl WorkspaceSummary
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&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) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&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<WorkspaceSummary> for WorkspaceSummary
impl PartialEq<WorkspaceSummary> 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