pub struct VcsFileEntry {
pub path: String,
pub status: VcsFileStatus,
pub staged: bool,
pub insertions: Option<u32>,
pub deletions: Option<u32>,
}Fields§
§path: String§status: VcsFileStatus§staged: bool§insertions: Option<u32>§deletions: Option<u32>Trait Implementations§
Source§impl Clone for VcsFileEntry
impl Clone for VcsFileEntry
Source§fn clone(&self) -> VcsFileEntry
fn clone(&self) -> VcsFileEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 VcsFileEntry
impl Debug for VcsFileEntry
Source§impl<'de> Deserialize<'de> for VcsFileEntry
impl<'de> Deserialize<'de> for VcsFileEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VcsFileEntry
impl PartialEq for VcsFileEntry
Source§impl Serialize for VcsFileEntry
impl Serialize for VcsFileEntry
impl Eq for VcsFileEntry
impl StructuralPartialEq for VcsFileEntry
Auto Trait Implementations§
impl Freeze for VcsFileEntry
impl RefUnwindSafe for VcsFileEntry
impl Send for VcsFileEntry
impl Sync for VcsFileEntry
impl Unpin for VcsFileEntry
impl UnsafeUnpin for VcsFileEntry
impl UnwindSafe for VcsFileEntry
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.