Struct savefile::SchemaStruct[][src]

pub struct SchemaStruct {
    pub dbg_name: String,
    pub fields: Vec<Field>,
}

A struct is by serializing its fields one by one, without any padding. The dbg_name is just for diagnostics.

Fields

Trait Implementations

impl Debug for SchemaStruct
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SchemaStruct
[src]

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

This method tests for !=.

impl WithSchema for SchemaStruct
[src]

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

impl Serialize for SchemaStruct
[src]

Serialize self into the given serializer.

impl Deserialize for SchemaStruct
[src]

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

Auto Trait Implementations