#[non_exhaustive]pub struct FailedWorkspaceChangeRequest { /* private fields */ }
Expand description
Describes a WorkSpace that could not be rebooted. (RebootWorkspaces
), rebuilt (RebuildWorkspaces
), restored (RestoreWorkspace
), terminated (TerminateWorkspaces
), started (StartWorkspaces
), or stopped (StopWorkspaces
).
Implementations§
source§impl FailedWorkspaceChangeRequest
impl FailedWorkspaceChangeRequest
sourcepub fn workspace_id(&self) -> Option<&str>
pub fn workspace_id(&self) -> Option<&str>
The identifier of the WorkSpace.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code that is returned if the WorkSpace cannot be rebooted.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The text of the error message that is returned if the WorkSpace cannot be rebooted.
source§impl FailedWorkspaceChangeRequest
impl FailedWorkspaceChangeRequest
sourcepub fn builder() -> FailedWorkspaceChangeRequestBuilder
pub fn builder() -> FailedWorkspaceChangeRequestBuilder
Creates a new builder-style object to manufacture FailedWorkspaceChangeRequest
.
Trait Implementations§
source§impl Clone for FailedWorkspaceChangeRequest
impl Clone for FailedWorkspaceChangeRequest
source§fn clone(&self) -> FailedWorkspaceChangeRequest
fn clone(&self) -> FailedWorkspaceChangeRequest
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 FailedWorkspaceChangeRequest
impl Debug for FailedWorkspaceChangeRequest
source§impl PartialEq<FailedWorkspaceChangeRequest> for FailedWorkspaceChangeRequest
impl PartialEq<FailedWorkspaceChangeRequest> for FailedWorkspaceChangeRequest
source§fn eq(&self, other: &FailedWorkspaceChangeRequest) -> bool
fn eq(&self, other: &FailedWorkspaceChangeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailedWorkspaceChangeRequest
Auto Trait Implementations§
impl RefUnwindSafe for FailedWorkspaceChangeRequest
impl Send for FailedWorkspaceChangeRequest
impl Sync for FailedWorkspaceChangeRequest
impl Unpin for FailedWorkspaceChangeRequest
impl UnwindSafe for FailedWorkspaceChangeRequest
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