macro_rules! bcs_scalar {
($ty:ty, $desc:literal) => { ... };
}
Expand description
Defines a GraphQL scalar type using the hex-representation of the value’s BCS-serialized form.
This is a modified implementation of async_graphql::scalar
.
In addition, it implements Display
and FromStr
, also using hex-representation.