[−][src]Struct google_youtube3::ActivityContentDetailsPromotedItem
Details about a resource which is being promoted.
This type is not used in any activity, and only used as part of another schema.
Fields
cta_type: Option<String>
The type of call-to-action, a message to the user indicating action that can be taken.
ad_tag: Option<String>
The URL the client should fetch to request a promoted item.
destination_url: Option<String>
The URL the client should direct the user to, if the user chooses to visit the advertiser's website.
forecasting_url: Option<Vec<String>>
The list of forecasting URLs. The client should ping all of these URLs when a promoted item is not available, to indicate that a promoted item could have been shown.
impression_url: Option<Vec<String>>
The list of impression URLs. The client should ping all of these URLs to indicate that the user was shown this promoted item.
creative_view_url: Option<String>
The URL the client should ping to indicate that the user was shown this promoted item.
video_id: Option<String>
The ID that YouTube uses to uniquely identify the promoted video.
description_text: Option<String>
The text description to accompany the promoted item.
The custom call-to-action button text. If specified, it will override the default button text for the cta_type.
click_tracking_url: Option<String>
The URL the client should ping to indicate that the user clicked through on this promoted item.
Trait Implementations
impl Part for ActivityContentDetailsPromotedItem
[src]
impl Default for ActivityContentDetailsPromotedItem
[src]
impl Clone for ActivityContentDetailsPromotedItem
[src]
fn clone(&self) -> ActivityContentDetailsPromotedItem
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ActivityContentDetailsPromotedItem
[src]
impl Serialize for ActivityContentDetailsPromotedItem
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ActivityContentDetailsPromotedItem
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ActivityContentDetailsPromotedItem
impl Unpin for ActivityContentDetailsPromotedItem
impl Sync for ActivityContentDetailsPromotedItem
impl UnwindSafe for ActivityContentDetailsPromotedItem
impl RefUnwindSafe for ActivityContentDetailsPromotedItem
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,