Struct aws_sdk_amplify::types::ProductionBranch
source · #[non_exhaustive]pub struct ProductionBranch {
pub last_deploy_time: Option<DateTime>,
pub status: Option<String>,
pub thumbnail_url: Option<String>,
pub branch_name: Option<String>,
}
Expand description
Describes the information about a production branch for an Amplify app.
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.last_deploy_time: Option<DateTime>
The last deploy time of the production branch.
status: Option<String>
The status of the production branch.
thumbnail_url: Option<String>
The thumbnail URL for the production branch.
branch_name: Option<String>
The branch name for the production branch.
Implementations§
source§impl ProductionBranch
impl ProductionBranch
sourcepub fn last_deploy_time(&self) -> Option<&DateTime>
pub fn last_deploy_time(&self) -> Option<&DateTime>
The last deploy time of the production branch.
sourcepub fn thumbnail_url(&self) -> Option<&str>
pub fn thumbnail_url(&self) -> Option<&str>
The thumbnail URL for the production branch.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The branch name for the production branch.
source§impl ProductionBranch
impl ProductionBranch
sourcepub fn builder() -> ProductionBranchBuilder
pub fn builder() -> ProductionBranchBuilder
Creates a new builder-style object to manufacture ProductionBranch
.
Trait Implementations§
source§impl Clone for ProductionBranch
impl Clone for ProductionBranch
source§fn clone(&self) -> ProductionBranch
fn clone(&self) -> ProductionBranch
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 ProductionBranch
impl Debug for ProductionBranch
source§impl PartialEq for ProductionBranch
impl PartialEq for ProductionBranch
source§fn eq(&self, other: &ProductionBranch) -> bool
fn eq(&self, other: &ProductionBranch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProductionBranch
Auto Trait Implementations§
impl Freeze for ProductionBranch
impl RefUnwindSafe for ProductionBranch
impl Send for ProductionBranch
impl Sync for ProductionBranch
impl Unpin for ProductionBranch
impl UnwindSafe for ProductionBranch
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.