Struct fuels_types::coin::Coin
source · pub struct Coin {
pub amount: u64,
pub block_created: u32,
pub asset_id: AssetId,
pub utxo_id: UtxoId,
pub maturity: u32,
pub owner: Bech32Address,
pub status: CoinStatus,
}
Fields§
§amount: u64
§block_created: u32
§asset_id: AssetId
§utxo_id: UtxoId
§maturity: u32
§owner: Bech32Address
§status: CoinStatus
Trait Implementations§
source§impl From<Coin> for Coin
impl From<Coin> for Coin
source§fn from(coin: ClientCoin) -> Self
fn from(coin: ClientCoin) -> Self
Converts to this type from the input type.
source§impl From<Coin> for CoinConfig
impl From<Coin> for CoinConfig
source§fn from(coin: Coin) -> CoinConfig
fn from(coin: Coin) -> CoinConfig
Converts to this type from the input type.
source§impl PartialEq<Coin> for Coin
impl PartialEq<Coin> for Coin
impl Eq for Coin
impl StructuralEq for Coin
impl StructuralPartialEq for Coin
Auto Trait Implementations§
impl RefUnwindSafe for Coin
impl Send for Coin
impl Sync for Coin
impl Unpin for Coin
impl UnwindSafe for Coin
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
§impl<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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.