pub type Uint128 = JsonUint<u128>;
Expand description
The 128-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 Uint128(/* private fields */);
Trait Implementations§
Source§impl JsonSchema for Uint128
impl JsonSchema for Uint128
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