pub enum DiffScope {
Unstaged,
Staged,
Both,
}Expand description
The snapshot included in a document.
Variants§
Implementations§
Trait Implementations§
impl Copy for DiffScope
Source§impl<'de> Deserialize<'de> for DiffScope
impl<'de> Deserialize<'de> for DiffScope
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
impl Eq for DiffScope
impl StructuralPartialEq for DiffScope
Auto Trait Implementations§
impl Freeze for DiffScope
impl RefUnwindSafe for DiffScope
impl Send for DiffScope
impl Sync for DiffScope
impl Unpin for DiffScope
impl UnsafeUnpin for DiffScope
impl UnwindSafe for DiffScope
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