Skip to main content

Crate platform_value

Crate platform_value 

Source
Expand description

Platform value A dynamic Platform value

A module that is used to represent values in Platform components Forked from ciborium value

Re-exports§

pub use patch::patch;
pub use patch::Patch;

Modules§

btreemap_extensions
converter
display
inner_value
patch
A Platform Value Patch and Platform Value Merge Patch implementation for Rust.
string_encoding
system_bytes

Macros§

platform_value
Construct a serde_platform_value::Value from a JSON literal.

Structs§

BinaryData
Bytes20
Bytes32
Bytes36
Identifier
IdentifierBytes32

Enums§

Error
IntegerReplacementType
ReplacementType
Value
A representation of a dynamic value that can handled dynamically

Constants§

DEFAULT_MAX_VALUE_DECODE_DEPTH
The defensive nesting limit used when decoding a Value without an explicit scope.
IDENTIFIER_MEDIA_TYPE

Traits§

ValueMapHelper

Functions§

from_value
Interpret a serde_json::Value as an instance of type T.
to_value
Convert a T into platform_value::Value which is an enum that can represent data.
with_value_decode_depth_limit
Runs decode with the requested container-depth limit for Value decoding on this thread.

Type Aliases§

Hash256
ValueMap