pub struct ChannelSection {
pub content_details: Option<ChannelSectionContentDetails>,
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub localizations: Option<HashMap<String, ChannelSectionLocalization>>,
pub snippet: Option<ChannelSectionSnippet>,
pub targeting: Option<ChannelSectionTargeting>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete channel sections (none)
- insert channel sections (request|response)
- list channel sections (none)
- update channel sections (request|response)
Fields§
§content_details: Option<ChannelSectionContentDetails>
The contentDetails object contains details about the channel section content, such as a list of playlists or channels featured in the section.
etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube uses to uniquely identify the channel section.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#channelSection”.
localizations: Option<HashMap<String, ChannelSectionLocalization>>
Localizations for different languages
snippet: Option<ChannelSectionSnippet>
The snippet object contains basic details about the channel section, such as its type, style and title.
targeting: Option<ChannelSectionTargeting>
The targeting object contains basic targeting settings about the channel section.
Trait Implementations§
Source§impl Clone for ChannelSection
impl Clone for ChannelSection
Source§fn clone(&self) -> ChannelSection
fn clone(&self) -> ChannelSection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ChannelSection
impl Debug for ChannelSection
Source§impl Default for ChannelSection
impl Default for ChannelSection
Source§fn default() -> ChannelSection
fn default() -> ChannelSection
Source§impl<'de> Deserialize<'de> for ChannelSection
impl<'de> Deserialize<'de> for ChannelSection
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>,
Source§impl Serialize for ChannelSection
impl Serialize for ChannelSection
Source§impl ToParts for ChannelSection
impl ToParts for ChannelSection
impl RequestValue for ChannelSection
impl Resource for ChannelSection
impl ResponseResult for ChannelSection
Auto Trait Implementations§
impl Freeze for ChannelSection
impl RefUnwindSafe for ChannelSection
impl Send for ChannelSection
impl Sync for ChannelSection
impl Unpin for ChannelSection
impl UnwindSafe for ChannelSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more