pub struct ReadCommitMessageOptions {
pub from: Option<String>,
pub path: String,
pub to: Option<String>,
}
Expand description
ReadCommitMessageOptions represents the options for reading commit messages. Transparently, it is defined to be similar to the behavior of the git log command.
Fields§
§from: Option<String>
From is the starting commit hash to read from.
path: String
Path is the path to read commit messages from.
to: Option<String>
To is the ending commit hash to read to.
Trait Implementations§
Source§impl Clone for ReadCommitMessageOptions
impl Clone for ReadCommitMessageOptions
Source§fn clone(&self) -> ReadCommitMessageOptions
fn clone(&self) -> ReadCommitMessageOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReadCommitMessageOptions
impl RefUnwindSafe for ReadCommitMessageOptions
impl Send for ReadCommitMessageOptions
impl Sync for ReadCommitMessageOptions
impl Unpin for ReadCommitMessageOptions
impl UnwindSafe for ReadCommitMessageOptions
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