Struct abstio::Manifest[][src]

pub struct Manifest {
    pub entries: BTreeMap<String, Entry>,
}
Expand description

A list of all canonical data files for A/B Street that’re uploaded somewhere. The file formats are tied to the latest version of the git repo. Players use the updater crate to sync these files with local copies.

Fields

entries: BTreeMap<String, Entry>

Keyed by path, starting with “data/”

Implementations

Removes entries from the Manifest to match the DataPacks that should exist locally.

Because there are so many Seattle maps and they get downloaded in one data pack on native, managing the total file size is important. The “us/seattle” data pack only contains small maps; the “us/huge_seattle” pack has the rest. This returns true for files belonging to “us/huge_seattle”.

If an entry’s path is system data, return the city.

pub fn get_entry(&self, path: &str) -> Option<&Entry>

Look up an entry.

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.