Struct ffsend_api::action::info::InfoResponse [−][src]
pub struct InfoResponse { /* fields omitted */ }The file info response.
Methods
impl InfoResponse[src]
impl InfoResponsepub fn download_count(&self) -> usize[src]
pub fn download_count(&self) -> usizeGet the number of times this file has been downloaded.
pub fn download_limit(&self) -> usize[src]
pub fn download_limit(&self) -> usizeGet the maximum number of times the file may be downloaded.
pub fn download_left(&self) -> usize[src]
pub fn download_left(&self) -> usizeGet the number of times this file may still be downloaded.
pub fn ttl_millis(&self) -> u64[src]
pub fn ttl_millis(&self) -> u64Get the time to live for this file, in milliseconds from the time the request was made.
Trait Implementations
impl Debug for InfoResponse[src]
impl Debug for InfoResponseAuto Trait Implementations
impl Send for InfoResponse
impl Send for InfoResponseimpl Sync for InfoResponse
impl Sync for InfoResponse