pub struct CompressImageRequest {
pub source_uri: String,
pub quality: u8,
pub max_width: Option<u32>,
pub max_height: Option<u32>,
pub output_path: PathBuf,
}Fields§
§source_uri: String§quality: u8§max_width: Option<u32>§max_height: Option<u32>§output_path: PathBufTrait Implementations§
Source§impl Clone for CompressImageRequest
impl Clone for CompressImageRequest
Source§fn clone(&self) -> CompressImageRequest
fn clone(&self) -> CompressImageRequest
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 moreAuto Trait Implementations§
impl Freeze for CompressImageRequest
impl RefUnwindSafe for CompressImageRequest
impl Send for CompressImageRequest
impl Sync for CompressImageRequest
impl Unpin for CompressImageRequest
impl UnwindSafe for CompressImageRequest
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