Struct google_photoslibrary1::api::AlbumPosition[][src]

pub struct AlbumPosition {
    pub position: Option<String>,
    pub relative_enrichment_item_id: Option<String>,
    pub relative_media_item_id: Option<String>,
}

Specifies a position in an album.

This type is not used in any activity, and only used as part of another schema.

Fields

position: Option<String>

Type of position, for a media or enrichment item.

relative_enrichment_item_id: Option<String>

The enrichment item to which the position is relative to. Only used when position type is AFTER_ENRICHMENT_ITEM.

relative_media_item_id: Option<String>

The media item to which the position is relative to. Only used when position type is AFTER_MEDIA_ITEM.

Trait Implementations

impl Clone for AlbumPosition[src]

impl Debug for AlbumPosition[src]

impl Default for AlbumPosition[src]

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

impl Part for AlbumPosition[src]

impl Serialize for AlbumPosition[src]

Auto Trait Implementations

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.