pub struct WorkspaceWithCommitOpts<'a> {
pub author_email: Option<&'a str>,
pub author_name: Option<&'a str>,
pub signoff: Option<bool>,
}Fields§
Author and committer email. Defaults to git config user.email in the calling client’s working directory, otherwise dagger@localhost.
Author and committer name. Defaults to git config user.name in the calling client’s working directory, otherwise Dagger.
signoff: Option<bool>Add a Signed-off-by trailer using the commit author’s name and email.
Trait Implementations§
Source§impl<'a> Debug for WorkspaceWithCommitOpts<'a>
impl<'a> Debug for WorkspaceWithCommitOpts<'a>
Source§impl<'a> PartialEq for WorkspaceWithCommitOpts<'a>
impl<'a> PartialEq for WorkspaceWithCommitOpts<'a>
impl<'a> StructuralPartialEq for WorkspaceWithCommitOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkspaceWithCommitOpts<'a>
impl<'a> RefUnwindSafe for WorkspaceWithCommitOpts<'a>
impl<'a> Send for WorkspaceWithCommitOpts<'a>
impl<'a> Sync for WorkspaceWithCommitOpts<'a>
impl<'a> Unpin for WorkspaceWithCommitOpts<'a>
impl<'a> UnsafeUnpin for WorkspaceWithCommitOpts<'a>
impl<'a> UnwindSafe for WorkspaceWithCommitOpts<'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