pub struct LogOptions {
pub max_count: Option<usize>,
pub path_filter: Option<String>,
pub author_filter: Option<String>,
pub since: Option<SystemTime>,
pub until: Option<SystemTime>,
pub extra_args: ExtraArgs,
}Expand description
Controls log traversal.
Fields§
§max_count: Option<usize>Maximum number of commits to return.
path_filter: Option<String>Optional path to filter history by.
Optional author name or email filter.
since: Option<SystemTime>Lower inclusive time bound.
until: Option<SystemTime>Upper inclusive time bound.
extra_args: ExtraArgsImplementation-specific passthrough arguments.
Trait Implementations§
Source§impl Clone for LogOptions
impl Clone for LogOptions
Source§fn clone(&self) -> LogOptions
fn clone(&self) -> LogOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogOptions
impl Debug for LogOptions
Source§impl Default for LogOptions
impl Default for LogOptions
Source§fn default() -> LogOptions
fn default() -> LogOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogOptions
impl RefUnwindSafe for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnsafeUnpin for LogOptions
impl UnwindSafe for LogOptions
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