Struct aws_sdk_proton::model::RepositoryBranch
source · [−]#[non_exhaustive]pub struct RepositoryBranch {
pub arn: Option<String>,
pub provider: Option<RepositoryProvider>,
pub name: Option<String>,
pub branch: Option<String>,
}Expand description
Detail data for a repository branch.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
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.arn: Option<String>The Amazon Resource Name (ARN) of the repository branch.
provider: Option<RepositoryProvider>The repository provider.
name: Option<String>The repository name.
branch: Option<String>The repository branch.
Implementations
sourceimpl RepositoryBranch
impl RepositoryBranch
sourcepub fn provider(&self) -> Option<&RepositoryProvider>
pub fn provider(&self) -> Option<&RepositoryProvider>
The repository provider.
sourceimpl RepositoryBranch
impl RepositoryBranch
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RepositoryBranch
Trait Implementations
sourceimpl Clone for RepositoryBranch
impl Clone for RepositoryBranch
sourcefn clone(&self) -> RepositoryBranch
fn clone(&self) -> RepositoryBranch
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RepositoryBranch
impl Debug for RepositoryBranch
sourceimpl PartialEq<RepositoryBranch> for RepositoryBranch
impl PartialEq<RepositoryBranch> for RepositoryBranch
sourcefn eq(&self, other: &RepositoryBranch) -> bool
fn eq(&self, other: &RepositoryBranch) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RepositoryBranch) -> bool
fn ne(&self, other: &RepositoryBranch) -> bool
This method tests for !=.
impl StructuralPartialEq for RepositoryBranch
Auto Trait Implementations
impl RefUnwindSafe for RepositoryBranch
impl Send for RepositoryBranch
impl Sync for RepositoryBranch
impl Unpin for RepositoryBranch
impl UnwindSafe for RepositoryBranch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more