pub struct InfoResponse {
pub id: String,
pub url: String,
pub direct_url: String,
pub filename: String,
pub mimetype: String,
pub creation_date: DateTime<Utc>,
pub expiry_date: Option<DateTime<Utc>>,
}
Expand description
Successful upload info API response
Fields§
§id: String
ID of the upload
url: String
URL of the upload
direct_url: String
direct URL to download the upload file
filename: String
filename of the uploaded file
mimetype: String
MIME type of the file
creation_date: DateTime<Utc>
date the upload was created
expiry_date: Option<DateTime<Utc>>
date the upload expires, or None if it never expires
Trait Implementations§
Source§impl Clone for InfoResponse
impl Clone for InfoResponse
Source§fn clone(&self) -> InfoResponse
fn clone(&self) -> InfoResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InfoResponse
impl Debug for InfoResponse
Auto Trait Implementations§
impl Freeze for InfoResponse
impl RefUnwindSafe for InfoResponse
impl Send for InfoResponse
impl Sync for InfoResponse
impl Unpin for InfoResponse
impl UnwindSafe for InfoResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more