Struct aws_sdk_codecatalyst::types::RepositoryInput
source · #[non_exhaustive]pub struct RepositoryInput {
pub repository_name: String,
pub branch_name: Option<String>,
}
Expand description
Information about a repository that will be cloned to a Dev Environment.
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.repository_name: String
The name of the source repository.
branch_name: Option<String>
The name of the branch in a source repository.
Implementations§
source§impl RepositoryInput
impl RepositoryInput
sourcepub fn repository_name(&self) -> &str
pub fn repository_name(&self) -> &str
The name of the source repository.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the branch in a source repository.
source§impl RepositoryInput
impl RepositoryInput
sourcepub fn builder() -> RepositoryInputBuilder
pub fn builder() -> RepositoryInputBuilder
Creates a new builder-style object to manufacture RepositoryInput
.
Trait Implementations§
source§impl Clone for RepositoryInput
impl Clone for RepositoryInput
source§fn clone(&self) -> RepositoryInput
fn clone(&self) -> RepositoryInput
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 RepositoryInput
impl Debug for RepositoryInput
source§impl PartialEq for RepositoryInput
impl PartialEq for RepositoryInput
source§fn eq(&self, other: &RepositoryInput) -> bool
fn eq(&self, other: &RepositoryInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RepositoryInput
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryInput
impl Send for RepositoryInput
impl Sync for RepositoryInput
impl Unpin for RepositoryInput
impl UnwindSafe for RepositoryInput
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>
Creates a shared type from an unshared type.