pub struct AssetIssuance {
pub asset_blinding_nonce: Tweak,
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: TweakZero for a new asset issuance; otherwise a blinding factor for the input
asset_entropy: [u8; 32]Freeform entropy field
amount: ValueAmount of asset to issue
inflation_keys: ValueAmount of inflation keys to issue
Implementations§
Source§impl AssetIssuance
impl AssetIssuance
Trait Implementations§
Source§impl Clone for AssetIssuance
impl Clone for AssetIssuance
Source§fn clone(&self) -> AssetIssuance
fn clone(&self) -> AssetIssuance
Returns a duplicate 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 AssetIssuance
impl Debug for AssetIssuance
Source§impl Decodable for AssetIssuance
impl Decodable for AssetIssuance
Source§fn consensus_decode<D: Read>(d: D) -> Result<AssetIssuance, Error>
fn consensus_decode<D: Read>(d: D) -> Result<AssetIssuance, Error>
Decode an object with a well-defined format
Source§impl Default for AssetIssuance
impl Default for AssetIssuance
Source§impl Encodable for AssetIssuance
impl Encodable for AssetIssuance
Source§impl Hash for AssetIssuance
impl Hash for AssetIssuance
Source§impl Ord for AssetIssuance
impl Ord for AssetIssuance
Source§fn cmp(&self, other: &AssetIssuance) -> Ordering
fn cmp(&self, other: &AssetIssuance) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for AssetIssuance
impl PartialEq for AssetIssuance
Source§impl PartialOrd for AssetIssuance
impl PartialOrd for AssetIssuance
impl Copy for AssetIssuance
impl Eq for AssetIssuance
impl StructuralPartialEq for AssetIssuance
Auto Trait Implementations§
impl Freeze for AssetIssuance
impl RefUnwindSafe for AssetIssuance
impl Send for AssetIssuance
impl Sync for AssetIssuance
impl Unpin for AssetIssuance
impl UnwindSafe for AssetIssuance
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