pub struct DeleteFileRepoBuilder { /* private fields */ }
Implementations§
Source§impl DeleteFileRepoBuilder
impl DeleteFileRepoBuilder
Identity for a person’s identity like an author or committer.
Sourcepub fn branch(self, branch: impl Into<String>) -> Self
pub fn branch(self, branch: impl Into<String>) -> Self
Branch (optional) to base this file from. if not given, the default branch is used.
pub fn committer(self, committer: impl Into<Identity>) -> Self
Sourcepub fn dates(self, dates: impl Into<CommitDateOptions>) -> Self
pub fn dates(self, dates: impl Into<CommitDateOptions>) -> Self
CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE
Sourcepub fn message(self, message: impl Into<String>) -> Self
pub fn message(self, message: impl Into<String>) -> Self
Message (optional) for the commit of this file. if not supplied, a default message will be used
Sourcepub fn new_branch(self, new_branch: impl Into<String>) -> Self
pub fn new_branch(self, new_branch: impl Into<String>) -> Self
new_branch (optional) will make a new branch from branch before creating the file
Trait Implementations§
Source§impl Debug for DeleteFileRepoBuilder
impl Debug for DeleteFileRepoBuilder
Source§impl<'de> Deserialize<'de> for DeleteFileRepoBuilder
impl<'de> Deserialize<'de> for DeleteFileRepoBuilder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeleteFileRepoBuilder
impl RefUnwindSafe for DeleteFileRepoBuilder
impl Send for DeleteFileRepoBuilder
impl Sync for DeleteFileRepoBuilder
impl Unpin for DeleteFileRepoBuilder
impl UnwindSafe for DeleteFileRepoBuilder
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
Mutably borrows from an owned value. Read more