Struct aws_sdk_workspaces::types::StandbyWorkspace
source · #[non_exhaustive]pub struct StandbyWorkspace {
pub primary_workspace_id: String,
pub volume_encryption_key: Option<String>,
pub directory_id: String,
pub tags: Option<Vec<Tag>>,
pub data_replication: Option<DataReplication>,
}
Expand description
Describes a standby WorkSpace.
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.primary_workspace_id: String
The identifier of the standby WorkSpace.
volume_encryption_key: Option<String>
The volume encryption key of the standby WorkSpace.
directory_id: String
The identifier of the directory for the standby WorkSpace.
The tags associated with the standby WorkSpace.
data_replication: Option<DataReplication>
Indicates whether data replication is enabled, and if enabled, the type of data replication.
Implementations§
source§impl StandbyWorkspace
impl StandbyWorkspace
sourcepub fn primary_workspace_id(&self) -> &str
pub fn primary_workspace_id(&self) -> &str
The identifier of the standby WorkSpace.
sourcepub fn volume_encryption_key(&self) -> Option<&str>
pub fn volume_encryption_key(&self) -> Option<&str>
The volume encryption key of the standby WorkSpace.
sourcepub fn directory_id(&self) -> &str
pub fn directory_id(&self) -> &str
The identifier of the directory for the standby WorkSpace.
The tags associated with the standby 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 .tags.is_none()
.
sourcepub fn data_replication(&self) -> Option<&DataReplication>
pub fn data_replication(&self) -> Option<&DataReplication>
Indicates whether data replication is enabled, and if enabled, the type of data replication.
source§impl StandbyWorkspace
impl StandbyWorkspace
sourcepub fn builder() -> StandbyWorkspaceBuilder
pub fn builder() -> StandbyWorkspaceBuilder
Creates a new builder-style object to manufacture StandbyWorkspace
.
Trait Implementations§
source§impl Clone for StandbyWorkspace
impl Clone for StandbyWorkspace
source§fn clone(&self) -> StandbyWorkspace
fn clone(&self) -> StandbyWorkspace
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StandbyWorkspace
impl Debug for StandbyWorkspace
source§impl PartialEq for StandbyWorkspace
impl PartialEq for StandbyWorkspace
source§fn eq(&self, other: &StandbyWorkspace) -> bool
fn eq(&self, other: &StandbyWorkspace) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StandbyWorkspace
Auto Trait Implementations§
impl Freeze for StandbyWorkspace
impl RefUnwindSafe for StandbyWorkspace
impl Send for StandbyWorkspace
impl Sync for StandbyWorkspace
impl Unpin for StandbyWorkspace
impl UnwindSafe for StandbyWorkspace
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