pub struct Issuance { /* private fields */ }Expand description
The details of an issuance or reissuance
Implementations§
Source§impl Issuance
impl Issuance
Sourcepub fn new(input: &Input) -> Self
pub fn new(input: &Input) -> Self
Create a new issuance or reissuance information from a input of a PSET
Sourcepub fn is_issuance(&self) -> bool
pub fn is_issuance(&self) -> bool
Return true if this is effectively an issuance
Sourcepub fn is_reissuance(&self) -> bool
pub fn is_reissuance(&self) -> bool
Return true if this is effectively a reissuance
Sourcepub fn is_confidential(&self) -> bool
pub fn is_confidential(&self) -> bool
Return true if the issuance or reissuance is confidential
Sourcepub fn asset_satoshi(&self) -> Option<u64>
pub fn asset_satoshi(&self) -> Option<u64>
Return the amount of the asset in satoshis
Sourcepub fn token_satoshi(&self) -> Option<u64>
pub fn token_satoshi(&self) -> Option<u64>
Return the amount of the reissuance token in satoshis
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Issuance
impl RefUnwindSafe for Issuance
impl Send for Issuance
impl Sync for Issuance
impl Unpin for Issuance
impl UnwindSafe for Issuance
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