Struct aws_sdk_iottwinmaker::types::WorkspaceSummary
source · #[non_exhaustive]pub struct WorkspaceSummary {
pub workspace_id: String,
pub arn: String,
pub description: Option<String>,
pub linked_services: Option<Vec<String>>,
pub creation_date_time: DateTime,
pub update_date_time: DateTime,
}Expand description
An object that contains information about 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: StringThe ID of the workspace.
arn: StringThe ARN of the workspace.
description: Option<String>The description of the workspace.
linked_services: Option<Vec<String>>A list of services that are linked to the workspace.
creation_date_time: DateTimeThe date and time when the workspace was created.
update_date_time: DateTimeThe date and time when the workspace was last updated.
Implementations§
source§impl WorkspaceSummary
impl WorkspaceSummary
sourcepub fn workspace_id(&self) -> &str
pub fn workspace_id(&self) -> &str
The ID of the workspace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the workspace.
sourcepub fn linked_services(&self) -> &[String]
pub fn linked_services(&self) -> &[String]
A list of services that are linked to the workspace.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .linked_services.is_none().
sourcepub fn creation_date_time(&self) -> &DateTime
pub fn creation_date_time(&self) -> &DateTime
The date and time when the workspace was created.
sourcepub fn update_date_time(&self) -> &DateTime
pub fn update_date_time(&self) -> &DateTime
The date and time when the workspace was last updated.
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 Freeze for WorkspaceSummary
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.