pub struct FileDownloadable {
pub name: String,
pub mimetype: String,
pub s3url: String,
}Expand description
File that can be downloaded from S3
Fields§
§name: StringFilename
mimetype: StringMIME type
s3url: StringS3 URL for download
Implementations§
Trait Implementations§
Source§impl Clone for FileDownloadable
impl Clone for FileDownloadable
Source§fn clone(&self) -> FileDownloadable
fn clone(&self) -> FileDownloadable
Returns a duplicate 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 FileDownloadable
impl Debug for FileDownloadable
Source§impl<'de> Deserialize<'de> for FileDownloadable
impl<'de> Deserialize<'de> for FileDownloadable
Source§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
Auto Trait Implementations§
impl Freeze for FileDownloadable
impl RefUnwindSafe for FileDownloadable
impl Send for FileDownloadable
impl Sync for FileDownloadable
impl Unpin for FileDownloadable
impl UnsafeUnpin for FileDownloadable
impl UnwindSafe for FileDownloadable
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