#[non_exhaustive]pub struct DeleteFileOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteFileOutput
.
Implementations§
source§impl DeleteFileOutputBuilder
impl DeleteFileOutputBuilder
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 the change that deletes the file.
This field is required.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 the change that deletes the file.
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 the change that deletes the file.
sourcepub fn blob_id(self, input: impl Into<String>) -> Self
pub fn blob_id(self, input: impl Into<String>) -> Self
The blob ID removed from the tree as part of deleting the file.
This field is required.sourcepub fn set_blob_id(self, input: Option<String>) -> Self
pub fn set_blob_id(self, input: Option<String>) -> Self
The blob ID removed from the tree as part of deleting the file.
sourcepub fn get_blob_id(&self) -> &Option<String>
pub fn get_blob_id(&self) -> &Option<String>
The blob ID removed from the tree as part of deleting the file.
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 delete file change.
This field is required.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 delete file change.
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 delete file change.
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The fully qualified path to the file to be deleted, including the full name and extension of that file.
This field is required.sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The fully qualified path to the file to be deleted, including the full name and extension of that file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The fully qualified path to the file to be deleted, including the full name and extension of that file.
sourcepub fn build(self) -> Result<DeleteFileOutput, BuildError>
pub fn build(self) -> Result<DeleteFileOutput, BuildError>
Consumes the builder and constructs a DeleteFileOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteFileOutputBuilder
impl Clone for DeleteFileOutputBuilder
source§fn clone(&self) -> DeleteFileOutputBuilder
fn clone(&self) -> DeleteFileOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteFileOutputBuilder
impl Debug for DeleteFileOutputBuilder
source§impl Default for DeleteFileOutputBuilder
impl Default for DeleteFileOutputBuilder
source§fn default() -> DeleteFileOutputBuilder
fn default() -> DeleteFileOutputBuilder
source§impl PartialEq for DeleteFileOutputBuilder
impl PartialEq for DeleteFileOutputBuilder
source§fn eq(&self, other: &DeleteFileOutputBuilder) -> bool
fn eq(&self, other: &DeleteFileOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteFileOutputBuilder
Auto Trait Implementations§
impl Freeze for DeleteFileOutputBuilder
impl RefUnwindSafe for DeleteFileOutputBuilder
impl Send for DeleteFileOutputBuilder
impl Sync for DeleteFileOutputBuilder
impl Unpin for DeleteFileOutputBuilder
impl UnwindSafe for DeleteFileOutputBuilder
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