pub struct HomeData {
pub repo_name: String,
pub current_branch: String,
pub total_commits: u32,
pub status: KitStatus,
pub first_commit: Option<KitCommit>,
pub last_commit: Option<KitCommit>,
}Fields§
§repo_name: String§current_branch: String§total_commits: u32§status: KitStatus§first_commit: Option<KitCommit>§last_commit: Option<KitCommit>Implementations§
Auto Trait Implementations§
impl Freeze for HomeData
impl RefUnwindSafe for HomeData
impl Send for HomeData
impl Sync for HomeData
impl Unpin for HomeData
impl UnsafeUnpin for HomeData
impl UnwindSafe for HomeData
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