pub struct HistoryOptions {
pub max_commits: usize,
pub first_parent: bool,
pub since: Option<i64>,
pub until: Option<i64>,
}Fields§
§max_commits: usize§first_parent: bool§since: Option<i64>§until: Option<i64>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HistoryOptions
Source§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