#[non_exhaustive]pub struct DescribeReleaseLabelOutput {
pub release_label: Option<String>,
pub applications: Option<Vec<SimplifiedApplication>>,
pub next_token: Option<String>,
pub available_os_releases: Option<Vec<OsRelease>>,
/* 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.release_label: Option<String>
The target release label described in the response.
applications: Option<Vec<SimplifiedApplication>>
The list of applications available for the target release label. Name
is the name of the application. Version
is the concise version of the application.
next_token: Option<String>
The pagination token. Reserved for future use. Currently set to null.
available_os_releases: Option<Vec<OsRelease>>
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
Implementations§
source§impl DescribeReleaseLabelOutput
impl DescribeReleaseLabelOutput
sourcepub fn release_label(&self) -> Option<&str>
pub fn release_label(&self) -> Option<&str>
The target release label described in the response.
sourcepub fn applications(&self) -> &[SimplifiedApplication]
pub fn applications(&self) -> &[SimplifiedApplication]
The list of applications available for the target release label. Name
is the name of the application. Version
is the concise version of the application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .applications.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token. Reserved for future use. Currently set to null.
sourcepub fn available_os_releases(&self) -> &[OsRelease]
pub fn available_os_releases(&self) -> &[OsRelease]
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_os_releases.is_none()
.
source§impl DescribeReleaseLabelOutput
impl DescribeReleaseLabelOutput
sourcepub fn builder() -> DescribeReleaseLabelOutputBuilder
pub fn builder() -> DescribeReleaseLabelOutputBuilder
Creates a new builder-style object to manufacture DescribeReleaseLabelOutput
.
Trait Implementations§
source§impl Clone for DescribeReleaseLabelOutput
impl Clone for DescribeReleaseLabelOutput
source§fn clone(&self) -> DescribeReleaseLabelOutput
fn clone(&self) -> DescribeReleaseLabelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeReleaseLabelOutput
impl Debug for DescribeReleaseLabelOutput
source§impl RequestId for DescribeReleaseLabelOutput
impl RequestId for DescribeReleaseLabelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeReleaseLabelOutput
Auto Trait Implementations§
impl Freeze for DescribeReleaseLabelOutput
impl RefUnwindSafe for DescribeReleaseLabelOutput
impl Send for DescribeReleaseLabelOutput
impl Sync for DescribeReleaseLabelOutput
impl Unpin for DescribeReleaseLabelOutput
impl UnwindSafe for DescribeReleaseLabelOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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