Struct google_youtube3::api::VideoCategory
source · pub struct VideoCategory {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<VideoCategorySnippet>,
}
Expand description
A videoCategory resource identifies a category that has been or could be associated with uploaded videos.
This type is not used in any activity, and only used as part of another schema.
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube uses to uniquely identify the video category.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#videoCategory”.
snippet: Option<VideoCategorySnippet>
The snippet object contains basic details about the video category, including its title.
Trait Implementations§
source§impl Clone for VideoCategory
impl Clone for VideoCategory
source§fn clone(&self) -> VideoCategory
fn clone(&self) -> VideoCategory
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 VideoCategory
impl Debug for VideoCategory
source§impl Default for VideoCategory
impl Default for VideoCategory
source§fn default() -> VideoCategory
fn default() -> VideoCategory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoCategory
impl<'de> Deserialize<'de> for VideoCategory
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
source§impl Serialize for VideoCategory
impl Serialize for VideoCategory
impl Part for VideoCategory
Auto Trait Implementations§
impl RefUnwindSafe for VideoCategory
impl Send for VideoCategory
impl Sync for VideoCategory
impl Unpin for VideoCategory
impl UnwindSafe for VideoCategory
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