#[non_exhaustive]pub struct Status {
pub prjname: String,
pub prjcode: String,
pub local_root: PathBuf,
pub checkout_hash: String,
pub checkout_ts: String,
pub tags: HashSet<String>,
pub uncommitted: bool,
pub untracked: bool,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.prjname: String§prjcode: String§local_root: PathBuf§checkout_hash: String§checkout_ts: String§uncommitted: bool§untracked: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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