pub struct Value<'a> { /* fields omitted */ }
Expand description
A container for SCALE encoded data that can serialize types directly
with the help of a type registry and without using an intermediate representation.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
If possible give a hint of expected size of the encoding. Read more
Convert self to a slice and then invoke the given closure with it.
Convert self to a slice and append it to the destination.
Convert self to an owned vector.
Serialize this value into the given Serde serializer. Read more
impl<T> Any for T where
T: 'static + ?Sized,
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Encode the hex strict representing self into the result. Lower case
letters are used (e.g. f9b4ca) Read more
Encode the hex strict representing self into the result. Upper case
letters are used (e.g. F9B4CA) Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.