pub struct HistoryReport {
pub points: Vec<HistoryPoint>,
pub skipped: Vec<SkippedRevision>,
pub months: usize,
}Expand description
Result of a history analysis run.
Fields§
§points: Vec<HistoryPoint>Points in chronological order (oldest first).
skipped: Vec<SkippedRevision>Revisions that were sampled but skipped, with reasons.
months: usizeLook-back window in months that was requested.
Implementations§
Source§impl HistoryReport
impl HistoryReport
Sourcepub fn endpoints(&self) -> Option<(&HistoryPoint, &HistoryPoint)>
pub fn endpoints(&self) -> Option<(&HistoryPoint, &HistoryPoint)>
Oldest and newest analyzed points, if any exist.
Trait Implementations§
Source§impl Debug for HistoryReport
impl Debug for HistoryReport
Source§impl Default for HistoryReport
impl Default for HistoryReport
Source§fn default() -> HistoryReport
fn default() -> HistoryReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HistoryReport
impl RefUnwindSafe for HistoryReport
impl Send for HistoryReport
impl Sync for HistoryReport
impl Unpin for HistoryReport
impl UnsafeUnpin for HistoryReport
impl UnwindSafe for HistoryReport
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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