Struct reql_types::Change[][src]

#[non_exhaustive]
pub struct Change<O, N> { pub old_val: Option<O>, pub new_val: Option<N>, pub result_type: Option<String>, pub old_offset: Option<usize>, pub new_offset: Option<usize>, pub state: Option<String>, }

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
old_val: Option<O>new_val: Option<N>result_type: Option<String>old_offset: Option<usize>new_offset: Option<usize>state: Option<String>

Trait Implementations

impl<O: Clone, N: Clone> Clone for Change<O, N>[src]

impl<O: Debug, N: Debug> Debug for Change<O, N>[src]

impl<'de, O, N> Deserialize<'de> for Change<O, N> where
    O: Deserialize<'de>,
    N: Deserialize<'de>, 
[src]

impl<O: Eq, N: Eq> Eq for Change<O, N>[src]

impl<O: Hash, N: Hash> Hash for Change<O, N>[src]

impl<O: Ord, N: Ord> Ord for Change<O, N>[src]

impl<O: PartialEq, N: PartialEq> PartialEq<Change<O, N>> for Change<O, N>[src]

impl<O: PartialOrd, N: PartialOrd> PartialOrd<Change<O, N>> for Change<O, N>[src]

impl<O, N> Serialize for Change<O, N> where
    O: Serialize,
    N: Serialize
[src]

impl<O, N> StructuralEq for Change<O, N>[src]

impl<O, N> StructuralPartialEq for Change<O, N>[src]

Auto Trait Implementations

impl<O, N> RefUnwindSafe for Change<O, N> where
    N: RefUnwindSafe,
    O: RefUnwindSafe

impl<O, N> Send for Change<O, N> where
    N: Send,
    O: Send

impl<O, N> Sync for Change<O, N> where
    N: Sync,
    O: Sync

impl<O, N> Unpin for Change<O, N> where
    N: Unpin,
    O: Unpin

impl<O, N> UnwindSafe for Change<O, N> where
    N: UnwindSafe,
    O: 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.