pub struct VideoSuggestionsTagSuggestion {
pub category_restricts: Option<Vec<String>>,
pub tag: Option<String>,
}
Expand description
A single tag suggestion with it’s relevance information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§category_restricts: Option<Vec<String>>
A set of video categories for which the tag is relevant. You can use this information to display appropriate tag suggestions based on the video category that the video uploader associates with the video. By default, tag suggestions are relevant for all categories if there are no restricts defined for the keyword.
tag: Option<String>
The keyword tag suggested for the video.
Trait Implementations§
source§impl Clone for VideoSuggestionsTagSuggestion
impl Clone for VideoSuggestionsTagSuggestion
source§fn clone(&self) -> VideoSuggestionsTagSuggestion
fn clone(&self) -> VideoSuggestionsTagSuggestion
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 Default for VideoSuggestionsTagSuggestion
impl Default for VideoSuggestionsTagSuggestion
source§fn default() -> VideoSuggestionsTagSuggestion
fn default() -> VideoSuggestionsTagSuggestion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VideoSuggestionsTagSuggestion
impl<'de> Deserialize<'de> for VideoSuggestionsTagSuggestion
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 VideoSuggestionsTagSuggestion
Auto Trait Implementations§
impl RefUnwindSafe for VideoSuggestionsTagSuggestion
impl Send for VideoSuggestionsTagSuggestion
impl Sync for VideoSuggestionsTagSuggestion
impl Unpin for VideoSuggestionsTagSuggestion
impl UnwindSafe for VideoSuggestionsTagSuggestion
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