ckb_jsonrpc_types

Type Alias Uint64

Source
pub type Uint64 = JsonUint<u64>;
Expand description

The 64-bit unsigned integer type encoded as the 0x-prefixed hex string in JSON.

§Examples

JSONDecimal 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

Source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
Source§

fn json_schema(gen: &mut SchemaGenerator) -> Schema

Generates a JSON Schema for this type. Read more
Source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
Source§

fn schema_id() -> Cow<'static, str>

Returns a string that uniquely identifies the schema produced by this type. Read more