pub struct AssetDetails { /* private fields */ }
Implementations§
Source§impl AssetDetails
impl AssetDetails
pub fn new( asset_id: AssetId, issue_height: u32, issue_timestamp: u64, issuer: Address, issuer_public_key: PublicKey, name: String, description: String, decimals: u32, reissuable: bool, quantity: u64, scripted: bool, min_sponsored_asset_fee: u64, origin_transaction_id: Id, script_details: ScriptDetails, ) -> Self
pub fn asset_id(&self) -> AssetId
pub fn issue_height(&self) -> u32
pub fn issue_timestamp(&self) -> u64
pub fn issuer(&self) -> Address
pub fn issuer_public_key(&self) -> PublicKey
pub fn name(&self) -> String
pub fn description(&self) -> String
pub fn decimals(&self) -> u32
pub fn reissuable(&self) -> bool
pub fn quantity(&self) -> u64
pub fn scripted(&self) -> bool
pub fn min_sponsored_asset_fee(&self) -> u64
pub fn origin_transaction_id(&self) -> Id
pub fn script_details(&self) -> ScriptDetails
Trait Implementations§
Source§impl Clone for AssetDetails
impl Clone for AssetDetails
Source§fn clone(&self) -> AssetDetails
fn clone(&self) -> AssetDetails
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 AssetDetails
impl Debug for AssetDetails
Source§impl PartialEq for AssetDetails
impl PartialEq for AssetDetails
Source§impl TryFrom<&Value> for AssetDetails
impl TryFrom<&Value> for AssetDetails
impl Eq for AssetDetails
impl StructuralPartialEq for AssetDetails
Auto Trait Implementations§
impl Freeze for AssetDetails
impl RefUnwindSafe for AssetDetails
impl Send for AssetDetails
impl Sync for AssetDetails
impl Unpin for AssetDetails
impl UnwindSafe for AssetDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request