#[non_exhaustive]pub struct PlatformBranchSummary {
pub platform_name: Option<String>,
pub branch_name: Option<String>,
pub lifecycle_state: Option<String>,
pub branch_order: i32,
pub supported_tier_list: Option<Vec<String>>,
}
Expand description
Summary information about a platform branch.
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.platform_name: Option<String>
The name of the platform to which this platform branch belongs.
branch_name: Option<String>
The name of the platform branch.
lifecycle_state: Option<String>
The support life cycle state of the platform branch.
Possible values: beta
| supported
| deprecated
| retired
branch_order: i32
An ordinal number that designates the order in which platform branches have been added to a platform. This can be helpful, for example, if your code calls the ListPlatformBranches
action and then displays a list of platform branches.
A larger BranchOrder
value designates a newer platform branch within the platform.
supported_tier_list: Option<Vec<String>>
The environment tiers that platform versions in this branch support.
Possible values: WebServer/Standard
| Worker/SQS/HTTP
Implementations§
source§impl PlatformBranchSummary
impl PlatformBranchSummary
sourcepub fn platform_name(&self) -> Option<&str>
pub fn platform_name(&self) -> Option<&str>
The name of the platform to which this platform branch belongs.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the platform branch.
sourcepub fn lifecycle_state(&self) -> Option<&str>
pub fn lifecycle_state(&self) -> Option<&str>
The support life cycle state of the platform branch.
Possible values: beta
| supported
| deprecated
| retired
sourcepub fn branch_order(&self) -> i32
pub fn branch_order(&self) -> i32
An ordinal number that designates the order in which platform branches have been added to a platform. This can be helpful, for example, if your code calls the ListPlatformBranches
action and then displays a list of platform branches.
A larger BranchOrder
value designates a newer platform branch within the platform.
sourcepub fn supported_tier_list(&self) -> &[String]
pub fn supported_tier_list(&self) -> &[String]
The environment tiers that platform versions in this branch support.
Possible values: WebServer/Standard
| Worker/SQS/HTTP
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_tier_list.is_none()
.
source§impl PlatformBranchSummary
impl PlatformBranchSummary
sourcepub fn builder() -> PlatformBranchSummaryBuilder
pub fn builder() -> PlatformBranchSummaryBuilder
Creates a new builder-style object to manufacture PlatformBranchSummary
.
Trait Implementations§
source§impl Clone for PlatformBranchSummary
impl Clone for PlatformBranchSummary
source§fn clone(&self) -> PlatformBranchSummary
fn clone(&self) -> PlatformBranchSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlatformBranchSummary
impl Debug for PlatformBranchSummary
source§impl PartialEq for PlatformBranchSummary
impl PartialEq for PlatformBranchSummary
source§fn eq(&self, other: &PlatformBranchSummary) -> bool
fn eq(&self, other: &PlatformBranchSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlatformBranchSummary
Auto Trait Implementations§
impl Freeze for PlatformBranchSummary
impl RefUnwindSafe for PlatformBranchSummary
impl Send for PlatformBranchSummary
impl Sync for PlatformBranchSummary
impl Unpin for PlatformBranchSummary
impl UnwindSafe for PlatformBranchSummary
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