Struct google_youtube3::api::WatchSettings
source · pub struct WatchSettings {
pub background_color: Option<String>,
pub featured_playlist_id: Option<String>,
pub text_color: Option<String>,
}
Expand description
Branding properties for the watch. All deprecated.
This type is not used in any activity, and only used as part of another schema.
Fields§
§background_color: Option<String>
The text color for the video watch page’s branded area.
featured_playlist_id: Option<String>
An ID that uniquely identifies a playlist that displays next to the video player.
text_color: Option<String>
The background color for the video watch page’s branded area.
Trait Implementations§
source§impl Clone for WatchSettings
impl Clone for WatchSettings
source§fn clone(&self) -> WatchSettings
fn clone(&self) -> WatchSettings
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 WatchSettings
impl Debug for WatchSettings
source§impl Default for WatchSettings
impl Default for WatchSettings
source§fn default() -> WatchSettings
fn default() -> WatchSettings
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WatchSettings
impl<'de> Deserialize<'de> for WatchSettings
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 WatchSettings
impl Serialize for WatchSettings
impl Part for WatchSettings
Auto Trait Implementations§
impl RefUnwindSafe for WatchSettings
impl Send for WatchSettings
impl Sync for WatchSettings
impl Unpin for WatchSettings
impl UnwindSafe for WatchSettings
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