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.