#[non_exhaustive]pub struct CreateCommitOutputBuilder { /* private fields */ }
Expand description
A builder for CreateCommitOutput
.
Implementations§
source§impl CreateCommitOutputBuilder
impl CreateCommitOutputBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The full commit ID of the commit that contains your committed file changes.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The full commit ID of the commit that contains your committed file changes.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The full commit ID of the commit that contains your committed file changes.
sourcepub fn tree_id(self, input: impl Into<String>) -> Self
pub fn tree_id(self, input: impl Into<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
sourcepub fn set_tree_id(self, input: Option<String>) -> Self
pub fn set_tree_id(self, input: Option<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
sourcepub fn get_tree_id(&self) -> &Option<String>
pub fn get_tree_id(&self) -> &Option<String>
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
sourcepub fn files_added(self, input: FileMetadata) -> Self
pub fn files_added(self, input: FileMetadata) -> Self
Appends an item to files_added
.
To override the contents of this collection use set_files_added
.
The files added as part of the committed file changes.
sourcepub fn set_files_added(self, input: Option<Vec<FileMetadata>>) -> Self
pub fn set_files_added(self, input: Option<Vec<FileMetadata>>) -> Self
The files added as part of the committed file changes.
sourcepub fn get_files_added(&self) -> &Option<Vec<FileMetadata>>
pub fn get_files_added(&self) -> &Option<Vec<FileMetadata>>
The files added as part of the committed file changes.
sourcepub fn files_updated(self, input: FileMetadata) -> Self
pub fn files_updated(self, input: FileMetadata) -> Self
Appends an item to files_updated
.
To override the contents of this collection use set_files_updated
.
The files updated as part of the commited file changes.
sourcepub fn set_files_updated(self, input: Option<Vec<FileMetadata>>) -> Self
pub fn set_files_updated(self, input: Option<Vec<FileMetadata>>) -> Self
The files updated as part of the commited file changes.
sourcepub fn get_files_updated(&self) -> &Option<Vec<FileMetadata>>
pub fn get_files_updated(&self) -> &Option<Vec<FileMetadata>>
The files updated as part of the commited file changes.
sourcepub fn files_deleted(self, input: FileMetadata) -> Self
pub fn files_deleted(self, input: FileMetadata) -> Self
Appends an item to files_deleted
.
To override the contents of this collection use set_files_deleted
.
The files deleted as part of the committed file changes.
sourcepub fn set_files_deleted(self, input: Option<Vec<FileMetadata>>) -> Self
pub fn set_files_deleted(self, input: Option<Vec<FileMetadata>>) -> Self
The files deleted as part of the committed file changes.
sourcepub fn get_files_deleted(&self) -> &Option<Vec<FileMetadata>>
pub fn get_files_deleted(&self) -> &Option<Vec<FileMetadata>>
The files deleted as part of the committed file changes.
sourcepub fn build(self) -> CreateCommitOutput
pub fn build(self) -> CreateCommitOutput
Consumes the builder and constructs a CreateCommitOutput
.
Trait Implementations§
source§impl Clone for CreateCommitOutputBuilder
impl Clone for CreateCommitOutputBuilder
source§fn clone(&self) -> CreateCommitOutputBuilder
fn clone(&self) -> CreateCommitOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCommitOutputBuilder
impl Debug for CreateCommitOutputBuilder
source§impl Default for CreateCommitOutputBuilder
impl Default for CreateCommitOutputBuilder
source§fn default() -> CreateCommitOutputBuilder
fn default() -> CreateCommitOutputBuilder
source§impl PartialEq for CreateCommitOutputBuilder
impl PartialEq for CreateCommitOutputBuilder
source§fn eq(&self, other: &CreateCommitOutputBuilder) -> bool
fn eq(&self, other: &CreateCommitOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCommitOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateCommitOutputBuilder
impl RefUnwindSafe for CreateCommitOutputBuilder
impl Send for CreateCommitOutputBuilder
impl Sync for CreateCommitOutputBuilder
impl Unpin for CreateCommitOutputBuilder
impl UnwindSafe for CreateCommitOutputBuilder
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
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>
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>
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 more