pub struct ExifInfo {
pub iso: Option<u32>,
pub exposure_time: Option<URational>,
pub f_number: Option<URational>,
pub focal_length: Option<URational>,
pub focal_length_35mm: Option<u16>,
pub exposure_program: Option<u16>,
pub metering_mode: Option<u16>,
pub flash: Option<u16>,
pub exposure_compensation: Option<SRational>,
pub max_aperture: Option<URational>,
pub brightness_value: Option<SRational>,
}Expand description
EXIF exposure and capture settings.
Fields§
§iso: Option<u32>ISO sensitivity
exposure_time: Option<URational>Exposure time in seconds (num/denom)
f_number: Option<URational>F-number (num/denom)
focal_length: Option<URational>Focal length in mm (num/denom)
focal_length_35mm: Option<u16>35mm equivalent focal length
exposure_program: Option<u16>Exposure program (EXIF enum)
metering_mode: Option<u16>Metering mode (EXIF enum)
flash: Option<u16>Flash status (EXIF enum)
exposure_compensation: Option<SRational>Exposure compensation in EV (num/denom)
max_aperture: Option<URational>Maximum aperture value (num/denom)
brightness_value: Option<SRational>Brightness value (num/denom)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExifInfo
impl<'de> Deserialize<'de> for ExifInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExifInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExifInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExifInfo
impl Serialize for ExifInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ExifInfo
Auto Trait Implementations§
impl Freeze for ExifInfo
impl RefUnwindSafe for ExifInfo
impl Send for ExifInfo
impl Sync for ExifInfo
impl Unpin for ExifInfo
impl UnsafeUnpin for ExifInfo
impl UnwindSafe for ExifInfo
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, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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