[][src]Enum diff::OptionDiff

pub enum OptionDiff<T: Diff> {
    Some(T::Repr),
    None,
    NoChange,
}

Variants

Some(T::Repr)
None
NoChange

Trait Implementations

impl<T: Diff> Clone for OptionDiff<T> where
    T::Repr: Clone
[src]

impl<T: Diff> Debug for OptionDiff<T> where
    T::Repr: Debug
[src]

impl<'de, T: Diff> Deserialize<'de> for OptionDiff<T> where
    T::Repr: Deserialize<'de>, 
[src]

impl<T: Diff> PartialEq<OptionDiff<T>> for OptionDiff<T> where
    T::Repr: PartialEq
[src]

impl<T: Diff> Serialize for OptionDiff<T> where
    T::Repr: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for OptionDiff<T> where
    <T as Diff>::Repr: RefUnwindSafe

impl<T> Send for OptionDiff<T> where
    <T as Diff>::Repr: Send

impl<T> Sync for OptionDiff<T> where
    <T as Diff>::Repr: Sync

impl<T> Unpin for OptionDiff<T> where
    <T as Diff>::Repr: Unpin

impl<T> UnwindSafe for OptionDiff<T> where
    <T as Diff>::Repr: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.