pub struct Coin {
pub amount: U64,
pub block_created: U64,
pub asset_id: AssetId,
pub utxo_id: UtxoId,
pub maturity: U64,
pub owner: Address,
pub status: CoinStatus,
}
Fields§
§amount: U64
§block_created: U64
§asset_id: AssetId
§utxo_id: UtxoId
§maturity: U64
§owner: Address
§status: CoinStatus
Trait Implementations§
source§impl<'de> Deserialize<'de> for Coin
impl<'de> Deserialize<'de> for Coin
source§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
source§impl<'de> QueryFragment<'de> for Coin
impl<'de> QueryFragment<'de> for Coin
§type SchemaType = Coin
type SchemaType = Coin
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder