[][src]Struct nyaasi_scraper::Sizes

pub struct Sizes {
    pub raw: String,
    pub parsed_from_magnet: Option<u64>,
    pub parsed_from_raw: Option<u64>,
}

Information about the size of an entry

Fields

raw: String

Raw, human readable string representing the size

parsed_from_magnet: Option<u64>

Size parsed from the magnet uri. Currently (Sep 16, 2019), nyaasi doesn't return the size on any magnet uris, but this could change in the future

parsed_from_raw: Option<u64>

Size parsed from the raw string

Trait Implementations

impl Debug for Sizes[src]

impl Serialize for Sizes[src]

Auto Trait Implementations

impl Send for Sizes

impl Sync for Sizes

impl Unpin for Sizes

impl UnwindSafe for Sizes

impl RefUnwindSafe for Sizes

Blanket Implementations

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.

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

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

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