#[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 ==
.