pub struct Photo {
pub taken_date_time: Option<String>,
pub camera_make: Option<String>,
pub camera_model: Option<String>,
pub f_number: Option<f64>,
pub exposure_denominator: Option<f64>,
pub exposure_numerator: Option<f64>,
pub focal_length: Option<f64>,
pub iso: Option<i32>,
}Expand description
Struct that provides photo and camera properties, for example, EXIF metadata, on a DriveItem.
Fields§
§taken_date_time: Option<String>Represents the date and time the photo was taken.
camera_make: Option<String>Camera manufacturer.
camera_model: Option<String>Camera model.
f_number: Option<f64>The F-stop value from the camera.
exposure_denominator: Option<f64>The denominator for the exposure time fraction from the camera.
exposure_numerator: Option<f64>The numerator for the exposure time fraction from the camera.
focal_length: Option<f64>The focal length from the camera.
iso: Option<i32>The ISO value from the camera.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Photo
impl<'de> Deserialize<'de> for Photo
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 RefUnwindSafe for Photo
impl Send for Photo
impl Sync for Photo
impl Unpin for Photo
impl UnwindSafe for Photo
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