pub struct CommitFilter {
pub since: Option<String>,
pub until: Option<String>,
pub no_merges: bool,
}Expand description
The git log filters that affect which commits a source yields. Grouped so
they travel together and form part of the history cache key.
Fields§
§since: Option<String>§until: Option<String>§no_merges: boolTrait Implementations§
Source§impl Clone for CommitFilter
impl Clone for CommitFilter
Source§fn clone(&self) -> CommitFilter
fn clone(&self) -> CommitFilter
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 CommitFilter
impl Debug for CommitFilter
Source§impl Default for CommitFilter
impl Default for CommitFilter
Source§fn default() -> CommitFilter
fn default() -> CommitFilter
Returns the “default value” for a type. Read more
impl Eq for CommitFilter
Source§impl PartialEq for CommitFilter
impl PartialEq for CommitFilter
Source§fn eq(&self, other: &CommitFilter) -> bool
fn eq(&self, other: &CommitFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitFilter
Auto Trait Implementations§
impl Freeze for CommitFilter
impl RefUnwindSafe for CommitFilter
impl Send for CommitFilter
impl Sync for CommitFilter
impl Unpin for CommitFilter
impl UnsafeUnpin for CommitFilter
impl UnwindSafe for CommitFilter
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