pub struct Status {
pub oid: Option<String>,
pub head: Option<String>,
pub upstream: Option<String>,
pub ahead_behind: Option<(u32, u32)>,
pub entries: Vec<Entry>,
}Expand description
Parsed git status --porcelain=v2 --branch -z.
Fields§
§oid: Option<String>§head: Option<String>None when HEAD is detached.
upstream: Option<String>§ahead_behind: Option<(u32, u32)>§entries: Vec<Entry>Trait Implementations§
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin 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