Struct ledb_actix::Modify
source · pub struct Modify(pub HashMap<Identifier, Vec<Action, Global>, RandomState>);
Expand description
Modification operator
Tuple Fields
0: HashMap<Identifier, Vec<Action, Global>, RandomState>
Implementations
sourceimpl Modify
impl Modify
sourcepub fn one<I>(field: I, action: Action) -> Modifywhere
I: Into<Identifier>,
pub fn one<I>(field: I, action: Action) -> Modifywhere
I: Into<Identifier>,
Create single modifier
sourcepub fn add<I>(&mut self, field: I, action: Action)where
I: Into<Identifier>,
pub fn add<I>(&mut self, field: I, action: Action)where
I: Into<Identifier>,
Append modification to modifier
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Modify
impl<'de> Deserialize<'de> for Modify
sourcefn deserialize<D>(
deserializer: D
) -> Result<Modify, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Modify, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Modify
impl Serialize for Modify
sourcefn 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 Modify
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> DefaultFeatures<'a> for Twhere
T: 'a + Send + Sync + Clone,
impl<'a, T> DefaultFeatures<'a> for Twhere
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait. Read morefn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self
. Read moreimpl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait. Read morefn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self
. Read moreimpl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more