Struct google_photoslibrary1::api::Photo
source · pub struct Photo {
pub aperture_f_number: Option<f32>,
pub camera_make: Option<String>,
pub camera_model: Option<String>,
pub exposure_time: Option<Duration>,
pub focal_length: Option<f32>,
pub iso_equivalent: Option<i32>,
}
Expand description
Metadata that is specific to a photo, such as, ISO, focal length and exposure time. Some of these fields may be null or not included.
This type is not used in any activity, and only used as part of another schema.
Fields§
§aperture_f_number: Option<f32>
Aperture f number of the camera lens with which the photo was taken.
camera_make: Option<String>
Brand of the camera with which the photo was taken.
camera_model: Option<String>
Model of the camera with which the photo was taken.
exposure_time: Option<Duration>
Exposure time of the camera aperture when the photo was taken.
focal_length: Option<f32>
Focal length of the camera lens with which the photo was taken.
iso_equivalent: Option<i32>
ISO of the camera with which the photo was taken.
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
impl Part for Photo
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