pub struct JsonStr(/* private fields */);
Expand description
A string containing encoded JSON.
Streaming a JsonStr will embed its contents directly rather
than treating them as a string.
Treat a string as native JSON.
Treat a string as native JSON.
Get a reference to the underlying string.
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
This method tests for self and other values to be equal, and is used
by ==.
This method tests for !=. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
This method tests for self and other values to be equal, and is used
by ==.
This method tests for !=. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Stream this value through a
Stream.
Get the tag of this value, if there is one.
Try convert this value into a boolean.
Try convert this value into a 32bit binary floating point number.
Try convert this value into a 64bit binary floating point number.
Try convert this value into a signed 8bit integer.
Try convert this value into a signed 16bit integer.
Try convert this value into a signed 32bit integer.
Try convert this value into a signed 64bit integer.
Try convert this value into a signed 128bit integer.
Try convert this value into an unsigned 8bit integer.
Try convert this value into an unsigned 16bit integer.
Try convert this value into an unsigned 32bit integer.
Try convert this value into an unsigned 64bit integer.
Try convert this value into an unsigned 128bit integer.
Try convert this value into a text string.
Try convert this value into a bitstring.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Converts the given value to a
String.
Read more