Struct skynet_rs::Metadata[][src]

pub struct Metadata {
    pub skylink: String,
    pub portal_url: String,
    pub content_type: Option<Mime>,
    pub filename: Option<String>,
    pub length: Option<u32>,
    pub subfiles: Option<HashMap<String, Subfile>>,
}

Fields

skylink: Stringportal_url: Stringcontent_type: Option<Mime>filename: Option<String>length: Option<u32>subfiles: Option<HashMap<String, Subfile>>

Trait Implementations

impl Debug for Metadata[src]

impl PartialEq<Metadata> for Metadata[src]

impl StructuralPartialEq for Metadata[src]

Auto Trait Implementations

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> 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, 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>,