[][src]Struct asuran::manifest::archive::Archive

pub struct Archive {
    pub name: String,
    pub objects: HashMap<String, Vec<ChunkLocation>, RandomState>,
    pub namespace: Vec<String>,
    pub timestamp: DateTime<FixedOffset>,
    pub listing: Listing,
}

An Archive, as stored in the repository

Fields

name: String

The user provided name of the archive

objects: HashMap<String, Vec<ChunkLocation>, RandomState>

The list of objects in this archive, as well as the chunks that make them up

namespace: Vec<String>

The namespace this archive is currently viewing

timestamp: DateTime<FixedOffset>

The timestamp of the archive's creation

listing: Listing

The listing of objects in the repository, maintaining their relative structure, such as the layout of directories and folders.

Trait Implementations

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

impl Serialize for Archive[src]

Auto Trait Implementations

impl RefUnwindSafe for Archive

impl Send for Archive

impl Sync for Archive

impl Unpin for Archive

impl UnwindSafe for Archive

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: Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]