Struct metalink::File[][src]

pub struct File {
    pub name: String,
    pub copyright: Option<String>,
    pub description: Option<String>,
    pub hashes: Vec<Hash>,
    pub identity: Option<String>,
    pub language: Option<Vec<String>>,
    pub logo: Option<Url>,
    pub meta_urls: Vec<FileMetaUrl>,
    pub os: Vec<String>,
    pub pieces: Vec<Piece>,
    pub publisher: Option<Publisher>,
    pub signature: Option<String>,
    pub size: Option<u64>,
    pub urls: Vec<FileUrl>,
    pub version: Option<String>,
}

Fields

name: Stringcopyright: Option<String>description: Option<String>hashes: Vec<Hash>identity: Option<String>language: Option<Vec<String>>meta_urls: Vec<FileMetaUrl>os: Vec<String>pieces: Vec<Piece>publisher: Option<Publisher>signature: Option<String>size: Option<u64>urls: Vec<FileUrl>version: Option<String>

Trait Implementations

impl Debug for File[src]

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

impl Eq for File[src]

impl PartialEq<File> for File[src]

impl Serialize for File[src]

impl StructuralEq for File[src]

impl StructuralPartialEq for File[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> 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.