pub struct HistoryOptions {
pub max_commits: usize,
pub since_timestamp: u64,
pub until_timestamp: u64,
pub path_filter: Vec<PathBuf>,
}Expand description
Options for building or querying change history.
Fields§
§max_commits: usizeMaximum number of commits to scan.
since_timestamp: u64Only include changes after this timestamp (0 = no limit).
until_timestamp: u64Only include changes before this timestamp (0 = no limit).
path_filter: Vec<PathBuf>Only include changes to these paths (empty = all).
Trait Implementations§
Source§impl Clone for HistoryOptions
impl Clone for HistoryOptions
Source§fn clone(&self) -> HistoryOptions
fn clone(&self) -> HistoryOptions
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 HistoryOptions
impl Debug for HistoryOptions
Auto Trait Implementations§
impl Freeze for HistoryOptions
impl RefUnwindSafe for HistoryOptions
impl Send for HistoryOptions
impl Sync for HistoryOptions
impl Unpin for HistoryOptions
impl UnsafeUnpin for HistoryOptions
impl UnwindSafe for HistoryOptions
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