Struct plutus_ledger_api::v1::assoc_map::AssocMap
source · pub struct AssocMap<K, V>(pub Vec<(K, V)>);
Tuple Fields§
§0: Vec<(K, V)>
Trait Implementations§
source§impl<K: Hash + Eq, V> From<LinkedHashMap<K, V>> for AssocMap<K, V>
impl<K: Hash + Eq, V> From<LinkedHashMap<K, V>> for AssocMap<K, V>
source§fn from(value: LinkedHashMap<K, V>) -> Self
fn from(value: LinkedHashMap<K, V>) -> Self
Converts to this type from the input type.
source§impl<K: IsPlutusData, V: IsPlutusData> IsPlutusData for AssocMap<K, V>
impl<K: IsPlutusData, V: IsPlutusData> IsPlutusData for AssocMap<K, V>
fn to_plutus_data(&self) -> PlutusData
fn from_plutus_data(plutus_data: &PlutusData) -> Result<Self, PlutusDataError>
source§impl<K: PartialEq, V: PartialEq> PartialEq for AssocMap<K, V>
impl<K: PartialEq, V: PartialEq> PartialEq for AssocMap<K, V>
impl<K: Eq, V: Eq> Eq for AssocMap<K, V>
impl<K, V> StructuralPartialEq for AssocMap<K, V>
Auto Trait Implementations§
impl<K, V> RefUnwindSafe for AssocMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for AssocMap<K, V>
impl<K, V> Sync for AssocMap<K, V>
impl<K, V> Unpin for AssocMap<K, V>
impl<K, V> UnwindSafe for AssocMap<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more