Struct fuel_core::chain_config::CoinConfig
source · [−]pub struct CoinConfig {
pub tx_id: Option<Bytes32>,
pub output_index: Option<u64>,
pub block_created: Option<BlockHeight>,
pub maturity: Option<BlockHeight>,
pub owner: Address,
pub amount: u64,
pub color: Color,
}
Fields
tx_id: Option<Bytes32>
auto-generated if None
output_index: Option<u64>
block_created: Option<BlockHeight>
used if coin is forked from another chain to preserve id
maturity: Option<BlockHeight>
owner: Address
amount: u64
color: Color
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CoinConfig
impl Send for CoinConfig
impl Sync for CoinConfig
impl Unpin for CoinConfig
impl UnwindSafe for CoinConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more