pub enum DisabledImageType {
Avif,
Jxl,
Webp,
Unrecognized(String),
}Expand description
Enum of image types that can be disabled.
Experimental: may change without notice.
Variants§
Avif
avif
Jxl
jxl
Webp
webp
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for DisabledImageType
impl Clone for DisabledImageType
Source§impl Debug for DisabledImageType
impl Debug for DisabledImageType
Source§impl<'de> Deserialize<'de> for DisabledImageType
impl<'de> Deserialize<'de> for DisabledImageType
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
impl Eq for DisabledImageType
Source§impl Hash for DisabledImageType
impl Hash for DisabledImageType
Source§impl PartialEq for DisabledImageType
impl PartialEq for DisabledImageType
Source§impl Serialize for DisabledImageType
impl Serialize for DisabledImageType
impl StructuralPartialEq for DisabledImageType
Auto Trait Implementations§
impl Forget for DisabledImageType
impl Freeze for DisabledImageType
impl RefUnwindSafe for DisabledImageType
impl Send for DisabledImageType
impl Sync for DisabledImageType
impl Unpin for DisabledImageType
impl UnsafeUnpin for DisabledImageType
impl UnwindSafe for DisabledImageType
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