pub struct LocalExif {Show 13 fields
pub make: Option<String>,
pub model: Option<String>,
pub lens_model: Option<String>,
pub f_number: Option<f64>,
pub focal_length: Option<f64>,
pub iso: Option<u32>,
pub exposure_time: Option<String>,
pub date_time_original: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub image_width: Option<u32>,
pub image_height: Option<u32>,
pub description: Option<String>,
}Expand description
Mirrors remote ExifInfo so the renderer is source-agnostic.
Fields§
§make: Option<String>§model: Option<String>§lens_model: Option<String>§f_number: Option<f64>§focal_length: Option<f64>§iso: Option<u32>§exposure_time: Option<String>§date_time_original: Option<String>RFC3339; consumed by format_datetime_display.
latitude: Option<f64>§longitude: Option<f64>§image_width: Option<u32>§image_height: Option<u32>§description: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocalExif
impl<'de> Deserialize<'de> for LocalExif
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
Auto Trait Implementations§
impl Freeze for LocalExif
impl RefUnwindSafe for LocalExif
impl Send for LocalExif
impl Sync for LocalExif
impl Unpin for LocalExif
impl UnsafeUnpin for LocalExif
impl UnwindSafe for LocalExif
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
§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.