Expand description
Utilities for testing lower layers of the Materialize stack.
See [README.md].
Structs§
- Reflected
Type Info - Info that must be combined with a spec to form deserializable JSON.
Traits§
- MzReflect
- For
to_jsonto create deserializable JSON for an instance of an type, the type must derive this trait. - Test
Deserialize Context - A trait for extending and/or overriding the default test case syntax.
Functions§
- deserialize
- Deserialize the next
TokenTreeinto aDobject. - deserialize_
generic - Simpler interface for deserialize when no syntax overrides or extensions are needed.
- deserialize_
optional - If the
stream_iteris not empty, deserialize the nextTokenTreeinto aD. - deserialize_
optional_ generic - Simpler interface for deserialize_optional when no syntax overrides or extensions are needed.
- from_
json - Converts serialized JSON to the syntax that to_json handles.
- serialize
- serialize_
generic - Simpler interface for serialize when no syntax overrides or extensions are needed.
- to_json
- Converts the next part of the stream into JSON deserializable into an object
of type
type_name. - tokenize
- Converts
sinto a proc_macro2::TokenStream - unquote
- Changes
"\"foo\""to"foo"
Derive Macros§
- MzReflect
- Macro generating an implementation for the trait MzReflect