Struct elements::issuance::AssetId [−][src]
pub struct AssetId(_);
Expand description
An issued asset ID.
Implementations
Create an AssetId from its inner type.
Convert the AssetId into its inner type.
Copies a byte slice into an AssetId object
Generate the asset entropy from the issuance prevout and the contract hash.
Calculate the asset ID from the asset entropy.
Calculate the reissuance token asset ID from the asset entropy.
Trait Implementations
Decode an object with a well-defined format
fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_byte_iter<I>(iter: I) -> Result<Self, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
Produce an object from a byte iterator
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
Auto Trait Implementations
impl RefUnwindSafe for AssetId
impl UnwindSafe for AssetId
Blanket Implementations
Mutably borrows from an owned value. Read more