Struct elements::AssetIssuance
source · pub struct AssetIssuance {
pub asset_blinding_nonce: [u8; 32],
pub asset_entropy: [u8; 32],
pub amount: Value,
pub inflation_keys: Value,
}
Expand description
Description of an asset issuance in a transaction input
Fields
asset_blinding_nonce: [u8; 32]
Zero for a new asset issuance; otherwise a blinding factor for the input
asset_entropy: [u8; 32]
Freeform entropy field
amount: Value
Amount of asset to issue
inflation_keys: Value
Amount of inflation keys to issue
Trait Implementations
sourceimpl Clone for AssetIssuance
impl Clone for AssetIssuance
sourcefn clone(&self) -> AssetIssuance
fn clone(&self) -> AssetIssuance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AssetIssuance
impl Debug for AssetIssuance
sourceimpl<D: Decoder> Decodable<D> for AssetIssuance
impl<D: Decoder> Decodable<D> for AssetIssuance
sourcefn consensus_decode(d: &mut D) -> Result<AssetIssuance, Error>
fn consensus_decode(d: &mut D) -> Result<AssetIssuance, Error>
Decode an object with a well-defined format
sourceimpl Default for AssetIssuance
impl Default for AssetIssuance
sourcefn default() -> AssetIssuance
fn default() -> AssetIssuance
Returns the “default value” for a type. Read more
sourceimpl<S: Encoder> Encodable<S> for AssetIssuance
impl<S: Encoder> Encodable<S> for AssetIssuance
sourceimpl Hash for AssetIssuance
impl Hash for AssetIssuance
sourceimpl Ord for AssetIssuance
impl Ord for AssetIssuance
sourcefn cmp(&self, other: &AssetIssuance) -> Ordering
fn cmp(&self, other: &AssetIssuance) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<AssetIssuance> for AssetIssuance
impl PartialEq<AssetIssuance> for AssetIssuance
sourcefn eq(&self, other: &AssetIssuance) -> bool
fn eq(&self, other: &AssetIssuance) -> bool
sourceimpl PartialOrd<AssetIssuance> for AssetIssuance
impl PartialOrd<AssetIssuance> for AssetIssuance
sourcefn partial_cmp(&self, other: &AssetIssuance) -> Option<Ordering>
fn partial_cmp(&self, other: &AssetIssuance) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for AssetIssuance
impl Eq for AssetIssuance
impl StructuralEq for AssetIssuance
impl StructuralPartialEq for AssetIssuance
Auto Trait Implementations
impl RefUnwindSafe for AssetIssuance
impl Send for AssetIssuance
impl Sync for AssetIssuance
impl Unpin for AssetIssuance
impl UnwindSafe for AssetIssuance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more