#[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.