pub struct WorkspaceCompareCommitsFromOpts<'a> {
pub commits: Option<Vec<&'a str>>,
pub max_commits: Option<isize>,
}Fields§
§commits: Option<Vec<&'a str>>Full lowercase commit hashes or unambiguous lowercase hex prefixes (4-40 characters) to select, in any order. Prefixes resolve against the frozen source’s Git objects and are recorded as full hashes; duplicate selections after resolution are rejected. Empty selects all new source commits. Selected commits must be within the source’s latest 10000 commits.
max_commits: Option<isize>Maximum commits in either differing history, from 1 to 1000. Exceeding the limit fails; nothing is silently omitted.
Trait Implementations§
Source§impl<'a> Debug for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> Debug for WorkspaceCompareCommitsFromOpts<'a>
Source§impl<'a> PartialEq for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> PartialEq for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> StructuralPartialEq for WorkspaceCompareCommitsFromOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> RefUnwindSafe for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> Send for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> Sync for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> Unpin for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> UnsafeUnpin for WorkspaceCompareCommitsFromOpts<'a>
impl<'a> UnwindSafe for WorkspaceCompareCommitsFromOpts<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more