pub struct GitLogConfig { /* private fields */ }
Implementations§
Source§impl GitLogConfig
impl GitLogConfig
pub fn default() -> GitLogConfig
pub fn include_merges(self, include_merges: bool) -> GitLogConfig
Sourcepub fn since(self, earliest_time: u64) -> GitLogConfig
pub fn since(self, earliest_time: u64) -> GitLogConfig
filter log by unix timestamp
Sourcepub fn since_years(self, years: f64) -> GitLogConfig
pub fn since_years(self, years: f64) -> GitLogConfig
filter log by number of years before now
Trait Implementations§
Source§impl Clone for GitLogConfig
impl Clone for GitLogConfig
Source§fn clone(&self) -> GitLogConfig
fn clone(&self) -> GitLogConfig
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 moreSource§impl Debug for GitLogConfig
impl Debug for GitLogConfig
impl Copy for GitLogConfig
Auto Trait Implementations§
impl Freeze for GitLogConfig
impl RefUnwindSafe for GitLogConfig
impl Send for GitLogConfig
impl Sync for GitLogConfig
impl Unpin for GitLogConfig
impl UnwindSafe for GitLogConfig
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