Struct google_youtube3::api::ActivitySnippet
source · 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<DateTime<Utc>>,
pub thumbnails: Option<ThumbnailDetails>,
pub title: Option<String>,
pub type_: Option<String>,
}
Expand description
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<DateTime<Utc>>
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§
source§impl Clone for ActivitySnippet
impl Clone for ActivitySnippet
source§fn clone(&self) -> ActivitySnippet
fn clone(&self) -> ActivitySnippet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more