Struct google_photoslibrary1::api::ShareInfo[][src]

pub struct ShareInfo {
    pub is_joinable: Option<bool>,
    pub is_joined: Option<bool>,
    pub is_owned: Option<bool>,
    pub share_token: Option<String>,
    pub shareable_url: Option<String>,
    pub shared_album_options: Option<SharedAlbumOptions>,
}

Information about albums that are shared. This information is only included if you created the album, it is shared and you have the sharing scope.

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

Fields

is_joinable: Option<bool>

True if the album can be joined by users.

is_joined: Option<bool>

True if the user is joined to the album. This is always true for the owner of the album.

is_owned: Option<bool>

True if the user owns the album.

share_token: Option<String>

A token that is used to join, leave, or retrieve the details of a shared album on behalf of a user who isn’t the owner. A shareToken is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.

shareable_url: Option<String>

A link to the shared Google Photos album. Anyone with the link can view the contents of the album, so it should be treated with care. The shareableUrl parameter is only returned if the album has link sharing turned on. If a user is already joined to an album that isn’t link-shared, they can use the album’s productUrl to access it instead. A shareableUrl is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.

shared_album_options: Option<SharedAlbumOptions>

Options that control whether someone can add media items to, or comment on a shared album.

Trait Implementations

impl Clone for ShareInfo[src]

impl Debug for ShareInfo[src]

impl Default for ShareInfo[src]

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

impl Part for ShareInfo[src]

impl Serialize for ShareInfo[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.