Struct google_youtube3::api::SubscriptionContentDetails
source · pub struct SubscriptionContentDetails {
pub activity_type: Option<String>,
pub new_item_count: Option<u32>,
pub total_item_count: Option<u32>,
}
Expand description
Details about the content to witch a subscription refers.
This type is not used in any activity, and only used as part of another schema.
Fields§
§activity_type: Option<String>
The type of activity this subscription is for (only uploads, everything).
new_item_count: Option<u32>
The number of new items in the subscription since its content was last read.
total_item_count: Option<u32>
The approximate number of items that the subscription points to.
Trait Implementations§
source§impl Clone for SubscriptionContentDetails
impl Clone for SubscriptionContentDetails
source§fn clone(&self) -> SubscriptionContentDetails
fn clone(&self) -> SubscriptionContentDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SubscriptionContentDetails
impl Debug for SubscriptionContentDetails
source§impl Default for SubscriptionContentDetails
impl Default for SubscriptionContentDetails
source§fn default() -> SubscriptionContentDetails
fn default() -> SubscriptionContentDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionContentDetails
impl<'de> Deserialize<'de> for SubscriptionContentDetails
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for SubscriptionContentDetails
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionContentDetails
impl Send for SubscriptionContentDetails
impl Sync for SubscriptionContentDetails
impl Unpin for SubscriptionContentDetails
impl UnwindSafe for SubscriptionContentDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more