Struct aws_sdk_codecommit::model::RepositoryMetadata
source · [−]#[non_exhaustive]pub struct RepositoryMetadata {
pub account_id: Option<String>,
pub repository_id: Option<String>,
pub repository_name: Option<String>,
pub repository_description: Option<String>,
pub default_branch: Option<String>,
pub last_modified_date: Option<DateTime>,
pub creation_date: Option<DateTime>,
pub clone_url_http: Option<String>,
pub clone_url_ssh: Option<String>,
pub arn: Option<String>,
}
Expand description
Information about a repository.
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.account_id: Option<String>
The ID of the AWS account associated with the repository.
repository_id: Option<String>
The ID of the repository.
repository_name: Option<String>
The repository's name.
repository_description: Option<String>
A comment or description about the repository.
default_branch: Option<String>
The repository's default branch name.
last_modified_date: Option<DateTime>
The date and time the repository was last modified, in timestamp format.
creation_date: Option<DateTime>
The date and time the repository was created, in timestamp format.
clone_url_http: Option<String>
The URL to use for cloning the repository over HTTPS.
clone_url_ssh: Option<String>
The URL to use for cloning the repository over SSH.
arn: Option<String>
The Amazon Resource Name (ARN) of the repository.
Implementations
sourceimpl RepositoryMetadata
impl RepositoryMetadata
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The ID of the AWS account associated with the repository.
sourcepub fn repository_id(&self) -> Option<&str>
pub fn repository_id(&self) -> Option<&str>
The ID of the repository.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The repository's name.
sourcepub fn repository_description(&self) -> Option<&str>
pub fn repository_description(&self) -> Option<&str>
A comment or description about the repository.
sourcepub fn default_branch(&self) -> Option<&str>
pub fn default_branch(&self) -> Option<&str>
The repository's default branch name.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The date and time the repository was last modified, in timestamp format.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date and time the repository was created, in timestamp format.
sourcepub fn clone_url_http(&self) -> Option<&str>
pub fn clone_url_http(&self) -> Option<&str>
The URL to use for cloning the repository over HTTPS.
sourcepub fn clone_url_ssh(&self) -> Option<&str>
pub fn clone_url_ssh(&self) -> Option<&str>
The URL to use for cloning the repository over SSH.
sourceimpl RepositoryMetadata
impl RepositoryMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RepositoryMetadata
Trait Implementations
sourceimpl Clone for RepositoryMetadata
impl Clone for RepositoryMetadata
sourcefn clone(&self) -> RepositoryMetadata
fn clone(&self) -> RepositoryMetadata
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 RepositoryMetadata
impl Debug for RepositoryMetadata
sourceimpl PartialEq<RepositoryMetadata> for RepositoryMetadata
impl PartialEq<RepositoryMetadata> for RepositoryMetadata
sourcefn eq(&self, other: &RepositoryMetadata) -> bool
fn eq(&self, other: &RepositoryMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RepositoryMetadata) -> bool
fn ne(&self, other: &RepositoryMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for RepositoryMetadata
Auto Trait Implementations
impl RefUnwindSafe for RepositoryMetadata
impl Send for RepositoryMetadata
impl Sync for RepositoryMetadata
impl Unpin for RepositoryMetadata
impl UnwindSafe for RepositoryMetadata
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