[][src]Struct ledb_actix::Modify

pub struct Modify(pub HashMap<Identifier, Vec<Action>, RandomState>);

Modification operator

Implementations

impl Modify[src]

pub fn new() -> Modify[src]

Create empty modifier

pub fn one<I>(field: I, action: Action) -> Modify where
    I: Into<Identifier>, 
[src]

Create single modifier

pub fn add<I>(&mut self, field: I, action: Action) where
    I: Into<Identifier>, 
[src]

Append modification to modifier

pub fn with<I>(self, field: I, action: Action) -> Modify where
    I: Into<Identifier>, 
[src]

Add modification to modifier

pub fn apply(&self, val: Value) -> Value[src]

Apply modifier to generic data

Trait Implementations

impl Clone for Modify[src]

impl Debug for Modify[src]

impl Default for Modify[src]

impl<'de> Deserialize<'de> for Modify[src]

impl PartialEq<Modify> for Modify[src]

impl Serialize for Modify[src]

impl StructuralPartialEq for Modify[src]

Auto Trait Implementations

impl !RefUnwindSafe for Modify

impl Send for Modify

impl Sync for Modify

impl Unpin for Modify

impl UnwindSafe for Modify

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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

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<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,