Enum noosphere_core::data::MapOperation
source · pub enum MapOperation<Key, Value> {
Add {
key: Key,
value: Value,
},
Remove {
key: Key,
},
}Variants
Add
Remove
Trait Implementations
sourceimpl<Key: Clone, Value: Clone> Clone for MapOperation<Key, Value>
impl<Key: Clone, Value: Clone> Clone for MapOperation<Key, Value>
sourcefn clone(&self) -> MapOperation<Key, Value>
fn clone(&self) -> MapOperation<Key, Value>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<Key: Debug, Value: Debug> Debug for MapOperation<Key, Value>
impl<Key: Debug, Value: Debug> Debug for MapOperation<Key, Value>
sourceimpl<'de, Key, Value> Deserialize<'de> for MapOperation<Key, Value>where
Key: Deserialize<'de>,
Value: Deserialize<'de>,
impl<'de, Key, Value> Deserialize<'de> for MapOperation<Key, Value>where
Key: Deserialize<'de>,
Value: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<Key: PartialEq, Value: PartialEq> PartialEq<MapOperation<Key, Value>> for MapOperation<Key, Value>
impl<Key: PartialEq, Value: PartialEq> PartialEq<MapOperation<Key, Value>> for MapOperation<Key, Value>
sourcefn eq(&self, other: &MapOperation<Key, Value>) -> bool
fn eq(&self, other: &MapOperation<Key, Value>) -> bool
sourceimpl<Key, Value> Serialize for MapOperation<Key, Value>where
Key: Serialize,
Value: Serialize,
impl<Key, Value> Serialize for MapOperation<Key, Value>where
Key: Serialize,
Value: Serialize,
impl<Key: Eq, Value: Eq> Eq for MapOperation<Key, Value>
impl<Key, Value> StructuralEq for MapOperation<Key, Value>
impl<Key, Value> StructuralPartialEq for MapOperation<Key, Value>
Auto Trait Implementations
impl<Key, Value> RefUnwindSafe for MapOperation<Key, Value>where
Key: RefUnwindSafe,
Value: RefUnwindSafe,
impl<Key, Value> Send for MapOperation<Key, Value>where
Key: Send,
Value: Send,
impl<Key, Value> Sync for MapOperation<Key, Value>where
Key: Sync,
Value: Sync,
impl<Key, Value> Unpin for MapOperation<Key, Value>where
Key: Unpin,
Value: Unpin,
impl<Key, Value> UnwindSafe for MapOperation<Key, Value>where
Key: UnwindSafe,
Value: UnwindSafe,
Blanket Implementations
sourceimpl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
fn jwt_base64_encode(&self) -> Result<String, Error>
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