pub enum PhotoFormat {
Jpeg = 1,
Jpeg2000 = 2,
Avif = 3,
Webp = 4,
}Expand description
Photo format for the binary image field (key 17)
Variants§
Trait Implementations§
Source§impl Clone for PhotoFormat
impl Clone for PhotoFormat
Source§fn clone(&self) -> PhotoFormat
fn clone(&self) -> PhotoFormat
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 PhotoFormat
impl Debug for PhotoFormat
Source§impl<'de> Deserialize<'de> for PhotoFormat
impl<'de> Deserialize<'de> for PhotoFormat
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
Source§impl From<PhotoFormat> for i64
impl From<PhotoFormat> for i64
Source§fn from(f: PhotoFormat) -> i64
fn from(f: PhotoFormat) -> i64
Converts to this type from the input type.
Source§impl PartialEq for PhotoFormat
impl PartialEq for PhotoFormat
Source§impl Serialize for PhotoFormat
impl Serialize for PhotoFormat
Source§impl TryFrom<i64> for PhotoFormat
impl TryFrom<i64> for PhotoFormat
impl Copy for PhotoFormat
impl Eq for PhotoFormat
impl StructuralPartialEq for PhotoFormat
Auto Trait Implementations§
impl Freeze for PhotoFormat
impl RefUnwindSafe for PhotoFormat
impl Send for PhotoFormat
impl Sync for PhotoFormat
impl Unpin for PhotoFormat
impl UnwindSafe for PhotoFormat
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