pub struct GitRefWithCommitOpts<'a> {
pub allow_empty: Option<bool>,
pub committer_date: Option<&'a str>,
pub committer_email: Option<&'a str>,
pub committer_name: Option<&'a str>,
pub signoff: Option<bool>,
}Fields§
§allow_empty: Option<bool>Allow a commit whose tree matches its parent, including when the supplied edits are already present. Defaults to false.
committer_date: Option<&'a str>RFC3339 committer date. Defaults to date.
committer_email: Option<&'a str>Committer email. Defaults to authorEmail.
committer_name: Option<&'a str>Committer name. Defaults to authorName.
signoff: Option<bool>Add a Signed-off-by trailer using the commit author’s name and email.
Trait Implementations§
Source§impl<'a> Debug for GitRefWithCommitOpts<'a>
impl<'a> Debug for GitRefWithCommitOpts<'a>
Source§impl<'a> PartialEq for GitRefWithCommitOpts<'a>
impl<'a> PartialEq for GitRefWithCommitOpts<'a>
impl<'a> StructuralPartialEq for GitRefWithCommitOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitRefWithCommitOpts<'a>
impl<'a> RefUnwindSafe for GitRefWithCommitOpts<'a>
impl<'a> Send for GitRefWithCommitOpts<'a>
impl<'a> Sync for GitRefWithCommitOpts<'a>
impl<'a> Unpin for GitRefWithCommitOpts<'a>
impl<'a> UnsafeUnpin for GitRefWithCommitOpts<'a>
impl<'a> UnwindSafe for GitRefWithCommitOpts<'a>
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
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> ⓘ
Converts
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> ⓘ
Converts
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