Enum savefile::prelude::Schema [] [src]

pub enum Schema {
    Struct(SchemaStruct),
    Enum(SchemaEnum),
    Primitive(SchemaPrimitive),
    Vector(Box<Schema>),
    Undefined,
}

The schema represents the save file format of your data.

Variants

Trait Implementations

impl Debug for Schema
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Schema
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl WithSchema for Schema
[src]

[src]

Returns a representation of the schema used by this Serialize implementation for the given version.

impl Serialize for Schema
[src]

[src]

Serialize self into the given serializer.

impl Deserialize for Schema
[src]

[src]

Deserialize and return an instance of Self from the given deserializer.