pub struct SerdeSerializer<S> { /* private fields */ }
Available on crate feature serde_json_serializer only.
Expand description

A serializer that uses serde and serde_json to serialize the test inputs (of arbitrary type T: Serializable + for<'e> Deserializable<'e>) to a json file.

Trait Implementations

Returns the “default value” for a type. Read more

The type of the value to be serialized

The extension of the file containing the serialized value

Deserialize the bytes into the value. Read more

Serialize the value into bytes Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.