Struct cardano_serialization_lib::metadata::MetadataMap [−][src]
pub struct MetadataMap(_);
Implementations
pub fn insert(
&mut self,
key: &TransactionMetadatum,
value: &TransactionMetadatum
) -> Option<TransactionMetadatum>
pub fn insert_str(
&mut self,
key: &str,
value: &TransactionMetadatum
) -> Result<Option<TransactionMetadatum>, JsError>
pub fn insert_i32(
&mut self,
key: i32,
value: &TransactionMetadatum
) -> Option<TransactionMetadatum>
Trait Implementations
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
Auto Trait Implementations
impl RefUnwindSafe for MetadataMap
impl Send for MetadataMap
impl Sync for MetadataMap
impl Unpin for MetadataMap
impl UnwindSafe for MetadataMap
Blanket Implementations
Mutably borrows from an owned value. Read more