pub enum MetadataField {
All,
None,
Icc,
Exif,
Xmp,
}Expand description
A single choice accepted by --metadata (comma-separated).
Variants§
All
Keep ICC, Exif, and XMP.
None
Strip everything (a bare VP8L output).
Icc
Keep the ICC color profile.
Exif
Keep Exif.
Xmp
Keep XMP.
Trait Implementations§
Source§impl Clone for MetadataField
impl Clone for MetadataField
impl Copy for MetadataField
Source§impl Debug for MetadataField
impl Debug for MetadataField
impl Eq for MetadataField
Source§impl PartialEq for MetadataField
impl PartialEq for MetadataField
impl StructuralPartialEq for MetadataField
Source§impl ValueEnum for MetadataField
impl ValueEnum for MetadataField
Auto Trait Implementations§
impl Freeze for MetadataField
impl RefUnwindSafe for MetadataField
impl Send for MetadataField
impl Sync for MetadataField
impl Unpin for MetadataField
impl UnsafeUnpin for MetadataField
impl UnwindSafe for MetadataField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more