Struct google_photoslibrary1::api::Photo[][src]

pub struct Photo {
    pub aperture_f_number: Option<f32>,
    pub camera_make: Option<String>,
    pub camera_model: Option<String>,
    pub exposure_time: Option<String>,
    pub focal_length: Option<f32>,
    pub iso_equivalent: Option<i32>,
}

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<String>

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

impl Clone for Photo[src]

impl Debug for Photo[src]

impl Default for Photo[src]

impl<'de> Deserialize<'de> for Photo[src]

impl Part for Photo[src]

impl Serialize for Photo[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.