Expand description
serde related helper functions
Enums§
- Serde
Conversion Error - Error while converting from or to serde values
Functions§
- from_
borrowed_ value - Tries to convert a
BorrowedValue
into a struct that implements serde’s Deserialize interface - from_
owned_ value - Tries to convert a
OwnedValue
into a struct that implements serde’s Deserialize interface - from_
reader - parses a Reader using a serde deserializer.
- from_
reader_ with_ buffers - Parses a Reader using a serde deserializer.
- from_
refborrowed_ value - Tries to convert a
&BorrowedValue
into a struct that implements serde’s Deserialize interface - from_
refowned_ value - Tries to convert a
&OwnedValue
into a struct that implements serde’s Deserialize interface - from_
slice - parses a byte slice using a serde deserializer. note that the slice will be rewritten in the process.
- from_
slice_ with_ buffers - Parses a byte slice using a serde deserializer. note that the slice will be rewritten in the process.
- from_
str ⚠ - Parses a str using a serde deserializer. note that the slice will be rewritten in the process and might not remain a valid utf8 string in its entirety.
- from_
str_ ⚠with_ buffers - Parses a str using a serde deserializer. note that the slice will be rewritten in the process and might not remain a valid utf8 string in its entirety.
- to_
borrowed_ value - Tries to convert a struct that implements serde’s serialize into
an
BorrowedValue
- to_
owned_ value - Tries to convert a struct that implements serde’s serialize into
an
OwnedValue
- to_
string - Write a value to a string
- to_
string_ pretty - Write a value to a string
- to_vec
- Write a value to a vector
- to_
vec_ pretty - Write a value to a vector
- to_
writer - Write a value to a string
- to_
writer_ pretty - Write a value to a string