Enum diem_types::transaction::metadata::PaymentMetadata
source · pub enum PaymentMetadata {
PaymentMetadataVersion0(PaymentMetadataV0),
}
Expand description
List of supported transaction metadata format versions for transactions for payments
Variants§
PaymentMetadataVersion0(PaymentMetadataV0)
Trait Implementations§
source§impl Clone for PaymentMetadata
impl Clone for PaymentMetadata
source§fn clone(&self) -> PaymentMetadata
fn clone(&self) -> PaymentMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PaymentMetadata
impl Debug for PaymentMetadata
source§impl<'de> Deserialize<'de> for PaymentMetadata
impl<'de> Deserialize<'de> for PaymentMetadata
source§fn 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
source§impl PartialEq<PaymentMetadata> for PaymentMetadata
impl PartialEq<PaymentMetadata> for PaymentMetadata
source§fn eq(&self, other: &PaymentMetadata) -> bool
fn eq(&self, other: &PaymentMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaymentMetadata
impl Serialize for PaymentMetadata
impl Eq for PaymentMetadata
impl StructuralEq for PaymentMetadata
impl StructuralPartialEq for PaymentMetadata
Auto Trait Implementations§
impl RefUnwindSafe for PaymentMetadata
impl Send for PaymentMetadata
impl Sync for PaymentMetadata
impl Unpin for PaymentMetadata
impl UnwindSafe for PaymentMetadata
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.