[][src]Struct ffsend_api::action::info::InfoResponse

pub struct InfoResponse { /* fields omitted */ }

The file info response.

Implementations

impl InfoResponse[src]

pub fn download_count(&self) -> usize[src]

Get the number of times this file has been downloaded.

pub fn download_limit(&self) -> usize[src]

Get the maximum number of times the file may be downloaded.

pub fn download_left(&self) -> usize[src]

Get the number of times this file may still be downloaded.

pub fn ttl_millis(&self) -> u64[src]

Get the time to live for this file, in milliseconds from the time the request was made.

Trait Implementations

impl Debug for InfoResponse[src]

impl<'de> Deserialize<'de> for InfoResponse[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> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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> Typeable for T where
    T: Any