Struct google_youtube3::api::ActivitySnippet[][src]

pub struct ActivitySnippet {
    pub channel_id: Option<String>,
    pub channel_title: Option<String>,
    pub description: Option<String>,
    pub group_id: Option<String>,
    pub published_at: Option<String>,
    pub thumbnails: Option<ThumbnailDetails>,
    pub title: Option<String>,
    pub type_: Option<String>,
}

Basic details about an activity, including title, description, thumbnails, activity type and group. Next ID: 12

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

Fields

channel_id: Option<String>

The ID that YouTube uses to uniquely identify the channel associated with the activity.

channel_title: Option<String>

Channel title for the channel responsible for this activity

description: Option<String>

The description of the resource primarily associated with the activity. @mutable youtube.activities.insert

group_id: Option<String>

The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In your user interface, you can avoid repetition by grouping events with the same groupId value.

published_at: Option<String>

The date and time that the video was uploaded.

thumbnails: Option<ThumbnailDetails>

A map of thumbnail images associated with the resource that is primarily associated with the activity. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

title: Option<String>

The title of the resource primarily associated with the activity.

type_: Option<String>

The type of activity that the resource describes.

Trait Implementations

impl Clone for ActivitySnippet[src]

impl Debug for ActivitySnippet[src]

impl Default for ActivitySnippet[src]

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

impl Part for ActivitySnippet[src]

impl Serialize for ActivitySnippet[src]

Auto Trait Implementations

impl RefUnwindSafe for ActivitySnippet[src]

impl Send for ActivitySnippet[src]

impl Sync for ActivitySnippet[src]

impl Unpin for ActivitySnippet[src]

impl UnwindSafe for ActivitySnippet[src]

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.