Struct google_photoslibrary1::api::Album [−][src]
Representation of an album in Google Photos. Albums are containers for media items. If an album has been shared by the application, it contains an extra shareInfo
property.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- add enrichment albums (none)
- batch add media items albums (none)
- batch remove media items albums (none)
- create albums (response)
- get albums (response)
- list albums (none)
- patch albums (request|response)
- share albums (none)
- unshare albums (none)
- get shared albums (response)
Fields
cover_photo_base_url: Option<String>
[Output only] A URL to the cover photo’s bytes. This shouldn’t be used as is. Parameters should be appended to this URL before use. See the developer documentation for a complete list of supported parameters. For example, '=w2048-h1024'
sets the dimensions of the cover photo to have a width of 2048 px and height of 1024 px.
cover_photo_media_item_id: Option<String>
Identifier for the media item associated with the cover photo.
id: Option<String>
Identifier for the album. This is a persistent identifier that can be used between sessions to identify this album.
is_writeable: Option<bool>
[Output only] True if you can create media items in this album. This field is based on the scopes granted and permissions of the album. If the scopes are changed or permissions of the album are changed, this field is updated.
media_items_count: Option<String>
[Output only] The number of media items in the album.
product_url: Option<String>
[Output only] Google Photos URL for the album. The user needs to be signed in to their Google Photos account to access this link.
[Output only] Information related to shared albums. This field is only populated if the album is a shared album, the developer created the album and the user has granted the photoslibrary.sharing
scope.
title: Option<String>
Name of the album displayed to the user in their Google Photos account. This string shouldn’t be more than 500 characters.
Trait Implementations
impl Clone for Album
[src]
impl Debug for Album
[src]
impl Default for Album
[src]
impl<'de> Deserialize<'de> for Album
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Album
[src]
impl Resource for Album
[src]
impl ResponseResult for Album
[src]
impl Serialize for Album
[src]
Auto Trait Implementations
impl RefUnwindSafe for Album
impl Send for Album
impl Sync for Album
impl Unpin for Album
impl UnwindSafe for Album
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,