[][src]Struct track::ModificationEvent

pub struct ModificationEvent<I: Identifier> {
    pub modified_fields: Vec<u8>,
    pub identifier: I,
}

A modification event.

Fields

modified_fields: Vec<u8>

The serialized data of the modified structure fields.

identifier: I

The reference to the corresponding type.

Methods

impl<I: Identifier> ModificationEvent<I>[src]

pub fn new(data: Vec<u8>, identifier: I) -> Self[src]

Constructs a new Modification Event.

Trait Implementations

impl<I: Clone + Identifier> Clone for ModificationEvent<I>[src]

impl<I: Debug + Identifier> Debug for ModificationEvent<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for ModificationEvent<I> where
    I: RefUnwindSafe

impl<I> Send for ModificationEvent<I>

impl<I> Sync for ModificationEvent<I>

impl<I> Unpin for ModificationEvent<I> where
    I: Unpin

impl<I> UnwindSafe for ModificationEvent<I> where
    I: 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> 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.