[−][src]Struct ffsend_api::action::info::InfoResponse
The file info response.
Methods
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for InfoResponse
impl Sync for InfoResponse
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> Same for T
type Output = T
Should always be Self