[][src]Struct abstio::Manifest

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

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

impl Manifest[src]

pub fn load() -> Manifest[src]

pub fn filter(self, data_packs: DataPacks) -> Manifest[src]

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

Trait Implementations

impl<'de> Deserialize<'de> for Manifest[src]

impl Serialize for Manifest[src]

Auto Trait Implementations

impl RefUnwindSafe for Manifest[src]

impl Send for Manifest[src]

impl Sync for Manifest[src]

impl Unpin for Manifest[src]

impl UnwindSafe for Manifest[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.