Struct aws_sdk_ec2::operation::release_hosts::ReleaseHostsOutput
source · #[non_exhaustive]pub struct ReleaseHostsOutput {
pub successful: Option<Vec<String>>,
pub unsuccessful: Option<Vec<UnsuccessfulItem>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.successful: Option<Vec<String>>
The IDs of the Dedicated Hosts that were successfully released.
unsuccessful: Option<Vec<UnsuccessfulItem>>
The IDs of the Dedicated Hosts that could not be released, including an error message.
Implementations§
source§impl ReleaseHostsOutput
impl ReleaseHostsOutput
sourcepub fn successful(&self) -> Option<&[String]>
pub fn successful(&self) -> Option<&[String]>
The IDs of the Dedicated Hosts that were successfully released.
sourcepub fn unsuccessful(&self) -> Option<&[UnsuccessfulItem]>
pub fn unsuccessful(&self) -> Option<&[UnsuccessfulItem]>
The IDs of the Dedicated Hosts that could not be released, including an error message.
source§impl ReleaseHostsOutput
impl ReleaseHostsOutput
sourcepub fn builder() -> ReleaseHostsOutputBuilder
pub fn builder() -> ReleaseHostsOutputBuilder
Creates a new builder-style object to manufacture ReleaseHostsOutput
.
Trait Implementations§
source§impl Clone for ReleaseHostsOutput
impl Clone for ReleaseHostsOutput
source§fn clone(&self) -> ReleaseHostsOutput
fn clone(&self) -> ReleaseHostsOutput
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 ReleaseHostsOutput
impl Debug for ReleaseHostsOutput
source§impl PartialEq<ReleaseHostsOutput> for ReleaseHostsOutput
impl PartialEq<ReleaseHostsOutput> for ReleaseHostsOutput
source§fn eq(&self, other: &ReleaseHostsOutput) -> bool
fn eq(&self, other: &ReleaseHostsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ReleaseHostsOutput
impl RequestId for ReleaseHostsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ReleaseHostsOutput
Auto Trait Implementations§
impl RefUnwindSafe for ReleaseHostsOutput
impl Send for ReleaseHostsOutput
impl Sync for ReleaseHostsOutput
impl Unpin for ReleaseHostsOutput
impl UnwindSafe for ReleaseHostsOutput
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