Struct google_youtube3::api::ActivityContentDetails [−][src]
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
bulletin: Option<ActivityContentDetailsBulletin>The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.
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.
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.
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.
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.
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.
promoted_item: Option<ActivityContentDetailsPromotedItem>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.
The social object contains details about a social network post. This property is only present if the snippet.type is social.
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.
upload: Option<ActivityContentDetailsUpload>The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.
Trait Implementations
impl Clone for ActivityContentDetails[src]
fn clone(&self) -> ActivityContentDetails[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ActivityContentDetails[src]
impl Default for ActivityContentDetails[src]
fn default() -> ActivityContentDetails[src]
impl<'de> Deserialize<'de> for ActivityContentDetails[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for ActivityContentDetails[src]
impl Serialize for ActivityContentDetails[src]
Auto Trait Implementations
impl RefUnwindSafe for ActivityContentDetails[src]
impl Send for ActivityContentDetails[src]
impl Sync for ActivityContentDetails[src]
impl Unpin for ActivityContentDetails[src]
impl UnwindSafe for ActivityContentDetails[src]
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>,