#[non_exhaustive]pub struct CreateWorkspacesOutput {
pub failed_requests: Option<Vec<FailedCreateWorkspaceRequest>>,
pub pending_requests: Option<Vec<Workspace>>,
/* private fields */
}
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.failed_requests: Option<Vec<FailedCreateWorkspaceRequest>>
Information about the WorkSpaces that could not be created.
pending_requests: Option<Vec<Workspace>>
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
Implementations§
source§impl CreateWorkspacesOutput
impl CreateWorkspacesOutput
sourcepub fn failed_requests(&self) -> &[FailedCreateWorkspaceRequest]
pub fn failed_requests(&self) -> &[FailedCreateWorkspaceRequest]
Information about the WorkSpaces that could not be created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_requests.is_none()
.
sourcepub fn pending_requests(&self) -> &[Workspace]
pub fn pending_requests(&self) -> &[Workspace]
Information about the WorkSpaces that were created.
Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pending_requests.is_none()
.
source§impl CreateWorkspacesOutput
impl CreateWorkspacesOutput
sourcepub fn builder() -> CreateWorkspacesOutputBuilder
pub fn builder() -> CreateWorkspacesOutputBuilder
Creates a new builder-style object to manufacture CreateWorkspacesOutput
.
Trait Implementations§
source§impl Clone for CreateWorkspacesOutput
impl Clone for CreateWorkspacesOutput
source§fn clone(&self) -> CreateWorkspacesOutput
fn clone(&self) -> CreateWorkspacesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateWorkspacesOutput
impl Debug for CreateWorkspacesOutput
source§impl PartialEq for CreateWorkspacesOutput
impl PartialEq for CreateWorkspacesOutput
source§fn eq(&self, other: &CreateWorkspacesOutput) -> bool
fn eq(&self, other: &CreateWorkspacesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateWorkspacesOutput
impl RequestId for CreateWorkspacesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateWorkspacesOutput
Auto Trait Implementations§
impl Freeze for CreateWorkspacesOutput
impl RefUnwindSafe for CreateWorkspacesOutput
impl Send for CreateWorkspacesOutput
impl Sync for CreateWorkspacesOutput
impl Unpin for CreateWorkspacesOutput
impl UnwindSafe for CreateWorkspacesOutput
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