Expand description
A Natural Language Structured Document serde implementation. The main entrypoints
are the from_str and to_string methods which take deserializable and serializable
objects respectively and converts the from and to English. See the
README for more information
on the specifications.
Structs§
- Deserializer
- A structure that deserializes NLSD into Rust structures
- Serializer
- A structure that serializes Rust values into a writer
W
Enums§
- Error
- Error that may occur during serializing or deserializing
Functions§
- from_
slice - deserialize an instance of
Tfrom NLSD bytes - from_
str - deserialize an instance of
Tfrom NLSD text - to_
string - serialize an instance of
Tto a string - to_vec
- serialize an instance of
Tto bytes - to_
writer - serialize an instance of
Tto a writer
Type Aliases§
- Result
- Convenience wrapper for a
Result<T, Error>