ckb_jsonrpc_types

Type Alias Uint32

Source
pub type Uint32 = JsonUint<u32>;
Expand description

The 32-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 Uint32(/* private fields */);

Trait Implementations§

Source§

impl JsonSchema for Uint32

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