pub struct UploadImage {
pub filename: String,
pub data: Vec<u8>,
}
Fields§
§filename: String
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for UploadImage
impl Clone for UploadImage
Source§fn clone(&self) -> UploadImage
fn clone(&self) -> UploadImage
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 UploadImage
impl Debug for UploadImage
Source§impl TryFrom<&PathBuf> for UploadImage
impl TryFrom<&PathBuf> for UploadImage
Auto Trait Implementations§
impl Freeze for UploadImage
impl RefUnwindSafe for UploadImage
impl Send for UploadImage
impl Sync for UploadImage
impl Unpin for UploadImage
impl UnwindSafe for UploadImage
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