Struct pliantdb::local::core::schema::view::map::MappedValue[][src]

pub struct MappedValue<K, V> where
    K: Key
{ pub key: K, pub value: V, }

A key value pair

Fields

key: K

The key responsible for generating the value

value: V

The value generated by the View

Trait Implementations

impl<K, V> Clone for MappedValue<K, V> where
    K: Clone + Key,
    V: Clone
[src]

impl<K, V> Debug for MappedValue<K, V> where
    K: Debug + Key,
    V: Debug
[src]

impl<'de, K, V> Deserialize<'de> for MappedValue<K, V> where
    K: Key + Deserialize<'de>,
    V: Deserialize<'de>, 
[src]

impl<K, V> PartialEq<MappedValue<K, V>> for MappedValue<K, V> where
    K: PartialEq<K> + Key,
    V: PartialEq<V>, 
[src]

impl<K, V> Serialize for MappedValue<K, V> where
    K: Key + Serialize,
    V: Serialize
[src]

impl<K, V> StructuralPartialEq for MappedValue<K, V> where
    K: Key
[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for MappedValue<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> Send for MappedValue<K, V> where
    V: Send

impl<K, V> Sync for MappedValue<K, V> where
    V: Sync

impl<K, V> Unpin for MappedValue<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for MappedValue<K, V> where
    K: UnwindSafe,
    V: 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> Conv for T

impl<T> Conv for T

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

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>,