Struct aws_sdk_ec2::operation::create_fleet::CreateFleetOutput
source · #[non_exhaustive]pub struct CreateFleetOutput {
pub fleet_id: Option<String>,
pub errors: Option<Vec<CreateFleetError>>,
pub instances: Option<Vec<CreateFleetInstance>>,
/* 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.fleet_id: Option<String>
The ID of the EC2 Fleet.
errors: Option<Vec<CreateFleetError>>
Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant
.
instances: Option<Vec<CreateFleetInstance>>
Information about the instances that were launched by the fleet. Supported only for fleets of type instant
.
Implementations§
source§impl CreateFleetOutput
impl CreateFleetOutput
sourcepub fn errors(&self) -> &[CreateFleetError]
pub fn errors(&self) -> &[CreateFleetError]
Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
sourcepub fn instances(&self) -> &[CreateFleetInstance]
pub fn instances(&self) -> &[CreateFleetInstance]
Information about the instances that were launched by the fleet. Supported only for fleets of type instant
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instances.is_none()
.
source§impl CreateFleetOutput
impl CreateFleetOutput
sourcepub fn builder() -> CreateFleetOutputBuilder
pub fn builder() -> CreateFleetOutputBuilder
Creates a new builder-style object to manufacture CreateFleetOutput
.
Trait Implementations§
source§impl Clone for CreateFleetOutput
impl Clone for CreateFleetOutput
source§fn clone(&self) -> CreateFleetOutput
fn clone(&self) -> CreateFleetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFleetOutput
impl Debug for CreateFleetOutput
source§impl PartialEq for CreateFleetOutput
impl PartialEq for CreateFleetOutput
source§fn eq(&self, other: &CreateFleetOutput) -> bool
fn eq(&self, other: &CreateFleetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateFleetOutput
impl RequestId for CreateFleetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateFleetOutput
Auto Trait Implementations§
impl Freeze for CreateFleetOutput
impl RefUnwindSafe for CreateFleetOutput
impl Send for CreateFleetOutput
impl Sync for CreateFleetOutput
impl Unpin for CreateFleetOutput
impl UnwindSafe for CreateFleetOutput
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