Struct aws_sdk_codecommit::output::CreateCommitOutput
source · [−]#[non_exhaustive]pub struct CreateCommitOutput {
pub commit_id: Option<String>,
pub tree_id: Option<String>,
pub files_added: Option<Vec<FileMetadata>>,
pub files_updated: Option<Vec<FileMetadata>>,
pub files_deleted: Option<Vec<FileMetadata>>,
}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.commit_id: Option<String>The full commit ID of the commit that contains your committed file changes.
tree_id: Option<String>The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
files_added: Option<Vec<FileMetadata>>The files added as part of the committed file changes.
files_updated: Option<Vec<FileMetadata>>The files updated as part of the commited file changes.
files_deleted: Option<Vec<FileMetadata>>The files deleted as part of the committed file changes.
Implementations
sourceimpl CreateCommitOutput
impl CreateCommitOutput
sourcepub fn commit_id(&self) -> Option<&str>
pub fn commit_id(&self) -> Option<&str>
The full commit ID of the commit that contains your committed file changes.
sourcepub fn tree_id(&self) -> Option<&str>
pub fn tree_id(&self) -> Option<&str>
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
sourcepub fn files_added(&self) -> Option<&[FileMetadata]>
pub fn files_added(&self) -> Option<&[FileMetadata]>
The files added as part of the committed file changes.
sourcepub fn files_updated(&self) -> Option<&[FileMetadata]>
pub fn files_updated(&self) -> Option<&[FileMetadata]>
The files updated as part of the commited file changes.
sourcepub fn files_deleted(&self) -> Option<&[FileMetadata]>
pub fn files_deleted(&self) -> Option<&[FileMetadata]>
The files deleted as part of the committed file changes.
sourceimpl CreateCommitOutput
impl CreateCommitOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCommitOutput.
Trait Implementations
sourceimpl Clone for CreateCommitOutput
impl Clone for CreateCommitOutput
sourcefn clone(&self) -> CreateCommitOutput
fn clone(&self) -> CreateCommitOutput
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 CreateCommitOutput
impl Debug for CreateCommitOutput
sourceimpl PartialEq<CreateCommitOutput> for CreateCommitOutput
impl PartialEq<CreateCommitOutput> for CreateCommitOutput
sourcefn eq(&self, other: &CreateCommitOutput) -> bool
fn eq(&self, other: &CreateCommitOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateCommitOutput) -> bool
fn ne(&self, other: &CreateCommitOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateCommitOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateCommitOutput
impl Send for CreateCommitOutput
impl Sync for CreateCommitOutput
impl Unpin for CreateCommitOutput
impl UnwindSafe for CreateCommitOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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