Struct ffsend_api::file::info::FileInfo [−][src]
pub struct FileInfo { /* fields omitted */ }
Expand description
File information, sent to the server before uploading.
This is used for Firefox Send v3.
Implementations
Constructor.
Parameters:
expire
: optional file expiry time in seconds.download_limit
: optional download limit.metadata
: encrypted and base64 encoded file metadataauth
: authorization data
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more