Struct fuels_types::coin::Coin
source · pub struct Coin {
pub amount: u64,
pub block_created: u64,
pub asset_id: AssetId,
pub utxo_id: UtxoId,
pub maturity: u64,
pub owner: Bech32Address,
pub status: CoinStatus,
}
Fields§
§amount: u64
§block_created: u64
§asset_id: AssetId
§utxo_id: UtxoId
§maturity: u64
§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.
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
.