Struct fuel_gql_client::client::schema::primitives::BlockId
source · pub struct BlockId(pub HexFormatted<Bytes32>);
Tuple Fields§
§0: HexFormatted<Bytes32>
Implementations§
source§impl BlockId
impl BlockId
sourcepub fn into_message(self) -> Message
pub fn into_message(self) -> Message
Converts the hash into a message having the same bytes.
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlockId
impl<'de> Deserialize<'de> for BlockId
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 IsScalar<BlockId> for BlockId
impl IsScalar<BlockId> for BlockId
§type SchemaType = BlockId
type SchemaType = BlockId
The schema marker type this scalar represents.