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<DiffScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiffScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DiffScope
Source§impl From<DiffScope> for ClientOptions
impl From<DiffScope> for ClientOptions
Source§impl Serialize for DiffScope
impl Serialize for DiffScope
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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