[][src]Struct google_youtube3::ActivityContentDetails

Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.

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

Fields

comment: Option<ActivityContentDetailsComment>

The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.

playlist_item: Option<ActivityContentDetailsPlaylistItem>

The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.

like: Option<ActivityContentDetailsLike>

The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.

The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.

recommendation: Option<ActivityContentDetailsRecommendation>

The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.

favorite: Option<ActivityContentDetailsFavorite>

The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.

upload: Option<ActivityContentDetailsUpload>

The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.

social: Option<ActivityContentDetailsSocial>

The social object contains details about a social network post. This property is only present if the snippet.type is social.

channel_item: Option<ActivityContentDetailsChannelItem>

The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.

bulletin: Option<ActivityContentDetailsBulletin>

The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.

subscription: Option<ActivityContentDetailsSubscription>

The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.

Trait Implementations

impl Part for ActivityContentDetails[src]

impl Default for ActivityContentDetails[src]

impl Clone for ActivityContentDetails[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ActivityContentDetails[src]

impl Serialize for ActivityContentDetails[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]