Struct waves_rust::model::asset::asset_details::AssetDetails
source · [−]pub struct AssetDetails { /* private fields */ }Implementations
sourceimpl 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
sourceimpl Clone for AssetDetails
impl Clone for AssetDetails
sourcefn clone(&self) -> AssetDetails
fn clone(&self) -> AssetDetails
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 AssetDetails
impl Debug for AssetDetails
sourceimpl PartialEq<AssetDetails> for AssetDetails
impl PartialEq<AssetDetails> for AssetDetails
sourcefn eq(&self, other: &AssetDetails) -> bool
fn eq(&self, other: &AssetDetails) -> bool
sourceimpl TryFrom<&Value> for AssetDetails
impl TryFrom<&Value> for AssetDetails
impl Eq for AssetDetails
impl StructuralEq for AssetDetails
impl StructuralPartialEq for AssetDetails
Auto Trait Implementations
impl RefUnwindSafe for AssetDetails
impl Send for AssetDetails
impl Sync for AssetDetails
impl Unpin for AssetDetails
impl UnwindSafe for AssetDetails
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request