Struct google_displayvideo1::api::Asset[][src]

pub struct Asset {
    pub content: Option<String>,
    pub media_id: Option<String>,
}

A single asset.

This type is not used in any activity, and only used as part of another schema.

Fields

content: Option<String>

The asset content. For uploaded assets, the content is the serving path.

media_id: Option<String>

Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other API calls, e.g. CreateCreative to associate the asset with a creative.

Trait Implementations

impl Clone for Asset[src]

impl Debug for Asset[src]

impl Default for Asset[src]

impl<'de> Deserialize<'de> for Asset[src]

impl Part for Asset[src]

impl Serialize for Asset[src]

Auto Trait Implementations

impl RefUnwindSafe for Asset

impl Send for Asset

impl Sync for Asset

impl Unpin for Asset

impl UnwindSafe for Asset

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.