pub type Uint64 = JsonUint<u64>;
Expand description
The 64-bit unsigned integer type encoded as the 0x-prefixed hex string in JSON.
§Examples
JSON | Decimal Value |
---|---|
“0x0” | 0 |
“0x10” | 16 |
“10” | Invalid, 0x is required |
“0x01” | Invalid, redundant leading 0 |
Aliased Type§
struct Uint64(/* private fields */);
Trait Implementations§
Source§impl JsonSchema for Uint64
impl JsonSchema for Uint64
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read more