pub enum PolishConfig {
Off,
Lossy,
Lossless,
}Expand description
Configuration options for Cloudflare’s image optimization feature: https://blog.cloudflare.com/introducing-polish-automatic-image-optimizati/
Variants§
Trait Implementations§
Source§impl Clone for PolishConfig
impl Clone for PolishConfig
Source§fn clone(&self) -> PolishConfig
fn clone(&self) -> PolishConfig
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 PolishConfig
impl Debug for PolishConfig
Source§impl Default for PolishConfig
impl Default for PolishConfig
Source§fn default() -> PolishConfig
fn default() -> PolishConfig
Returns the “default value” for a type. Read more
Source§impl Serialize for PolishConfig
impl Serialize for PolishConfig
impl Copy for PolishConfig
Auto Trait Implementations§
impl Freeze for PolishConfig
impl RefUnwindSafe for PolishConfig
impl Send for PolishConfig
impl Sync for PolishConfig
impl Unpin for PolishConfig
impl UnwindSafe for PolishConfig
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