pub struct NotesWriteOptions {
pub message: String,
pub committer: Signature,
pub author: Option<Signature>,
}Expand description
Author, committer, and commit message for a notes ref update.
Fields§
§message: StringFirst line and body of the notes commit (trailing newline optional).
committer: SignatureCommitter of the notes commit (for example from Repository::identity).
Author of the notes commit; defaults to Self::committer when None.
Trait Implementations§
Source§impl Clone for NotesWriteOptions
impl Clone for NotesWriteOptions
Auto Trait Implementations§
impl Freeze for NotesWriteOptions
impl RefUnwindSafe for NotesWriteOptions
impl Send for NotesWriteOptions
impl Sync for NotesWriteOptions
impl Unpin for NotesWriteOptions
impl UnsafeUnpin for NotesWriteOptions
impl UnwindSafe for NotesWriteOptions
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