#[non_exhaustive]pub struct RelatedWorkspaceProperties {
pub workspace_id: Option<String>,
pub region: Option<String>,
pub state: Option<WorkspaceState>,
pub type: Option<StandbyWorkspaceRelationshipType>,
}
Expand description
Describes the related WorkSpace. The related WorkSpace could be a standby WorkSpace or primary WorkSpace related to the specified 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>
The identifier of the related WorkSpace.
region: Option<String>
The Region of the related WorkSpace.
state: Option<WorkspaceState>
Indicates the state of the WorkSpace.
type: Option<StandbyWorkspaceRelationshipType>
Indicates the type of WorkSpace.
Implementations§
source§impl RelatedWorkspaceProperties
impl RelatedWorkspaceProperties
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The identifier of the related WorkSpace.
sourcepub fn state(&self) -> Option<&WorkspaceState>
pub fn state(&self) -> Option<&WorkspaceState>
Indicates the state of the WorkSpace.
sourcepub fn type(&self) -> Option<&StandbyWorkspaceRelationshipType>
pub fn type(&self) -> Option<&StandbyWorkspaceRelationshipType>
Indicates the type of WorkSpace.
source§impl RelatedWorkspaceProperties
impl RelatedWorkspaceProperties
sourcepub fn builder() -> RelatedWorkspacePropertiesBuilder
pub fn builder() -> RelatedWorkspacePropertiesBuilder
Creates a new builder-style object to manufacture RelatedWorkspaceProperties
.
Trait Implementations§
source§impl Clone for RelatedWorkspaceProperties
impl Clone for RelatedWorkspaceProperties
source§fn clone(&self) -> RelatedWorkspaceProperties
fn clone(&self) -> RelatedWorkspaceProperties
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 RelatedWorkspaceProperties
impl Debug for RelatedWorkspaceProperties
source§impl PartialEq for RelatedWorkspaceProperties
impl PartialEq for RelatedWorkspaceProperties
source§fn eq(&self, other: &RelatedWorkspaceProperties) -> bool
fn eq(&self, other: &RelatedWorkspaceProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RelatedWorkspaceProperties
Auto Trait Implementations§
impl Freeze for RelatedWorkspaceProperties
impl RefUnwindSafe for RelatedWorkspaceProperties
impl Send for RelatedWorkspaceProperties
impl Sync for RelatedWorkspaceProperties
impl Unpin for RelatedWorkspaceProperties
impl UnwindSafe for RelatedWorkspaceProperties
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.