Struct google_youtube3::api::ChannelSection
source · [−]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
sourceimpl Clone for ChannelSection
impl Clone for ChannelSection
sourcefn clone(&self) -> ChannelSection
fn clone(&self) -> ChannelSection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChannelSection
impl Debug for ChannelSection
sourceimpl Default for ChannelSection
impl Default for ChannelSection
sourcefn default() -> ChannelSection
fn default() -> ChannelSection
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChannelSection
impl<'de> Deserialize<'de> for ChannelSection
sourcefn 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
sourceimpl Serialize for ChannelSection
impl Serialize for ChannelSection
sourceimpl ToParts for ChannelSection
impl ToParts for ChannelSection
impl RequestValue for ChannelSection
impl Resource for ChannelSection
impl ResponseResult for ChannelSection
Auto Trait Implementations
impl RefUnwindSafe for ChannelSection
impl Send for ChannelSection
impl Sync for ChannelSection
impl Unpin for ChannelSection
impl UnwindSafe for ChannelSection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more