pub struct TimelinePointView {
pub short_hash: String,
pub subject: String,
pub author: Option<String>,
pub date: Option<String>,
pub added_lines: u32,
pub removed_lines: u32,
pub files: Vec<FileView>,
}Expand description
One commit in the timeline (render-friendly projection of a DocDiffTimelinePoint).
Fields§
§short_hash: String§subject: String§date: Option<String>§added_lines: u32§removed_lines: u32§files: Vec<FileView>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimelinePointView
impl RefUnwindSafe for TimelinePointView
impl Send for TimelinePointView
impl Sync for TimelinePointView
impl Unpin for TimelinePointView
impl UnsafeUnpin for TimelinePointView
impl UnwindSafe for TimelinePointView
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> 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