pub struct ImageFile {
pub path: PathBuf,
pub bytes: usize,
pub sha256: String,
pub width: Option<u32>,
pub height: Option<u32>,
/* private fields */
}Expand description
One local file picked for upload.
Fields§
§path: PathBuf§bytes: usize§sha256: String§width: Option<u32>§height: Option<u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageFile
impl RefUnwindSafe for ImageFile
impl Send for ImageFile
impl Sync for ImageFile
impl Unpin for ImageFile
impl UnsafeUnpin for ImageFile
impl UnwindSafe for ImageFile
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