pub struct ShortStatusEntry {
pub index: u8,
pub worktree: u8,
pub path: Vec<u8>,
pub head_mode: Option<u32>,
pub index_mode: Option<u32>,
pub worktree_mode: Option<u32>,
pub head_oid: Option<ObjectId>,
pub index_oid: Option<ObjectId>,
pub submodule: Option<SubmoduleStatus>,
}Fields§
§index: u8§worktree: u8§path: Vec<u8>§head_mode: Option<u32>§index_mode: Option<u32>§worktree_mode: Option<u32>§head_oid: Option<ObjectId>§index_oid: Option<ObjectId>§submodule: Option<SubmoduleStatus>For a tracked gitlink (submodule) path: how the submodule’s working
state differs from the staged gitlink. None for ordinary paths.
Implementations§
Trait Implementations§
Source§impl Clone for ShortStatusEntry
impl Clone for ShortStatusEntry
Source§fn clone(&self) -> ShortStatusEntry
fn clone(&self) -> ShortStatusEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShortStatusEntry
impl Debug for ShortStatusEntry
impl Eq for ShortStatusEntry
Source§impl PartialEq for ShortStatusEntry
impl PartialEq for ShortStatusEntry
Source§fn eq(&self, other: &ShortStatusEntry) -> bool
fn eq(&self, other: &ShortStatusEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShortStatusEntry
Auto Trait Implementations§
impl Freeze for ShortStatusEntry
impl RefUnwindSafe for ShortStatusEntry
impl Send for ShortStatusEntry
impl Sync for ShortStatusEntry
impl Unpin for ShortStatusEntry
impl UnsafeUnpin for ShortStatusEntry
impl UnwindSafe for ShortStatusEntry
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