[][src]Struct google_dialogflow2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject

pub struct GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject {
    pub content_url: Option<String>,
    pub icon: Option<GoogleCloudDialogflowV2IntentMessageImage>,
    pub description: Option<String>,
    pub large_image: Option<GoogleCloudDialogflowV2IntentMessageImage>,
    pub name: Option<String>,
}

Response media object for media content card.

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

Fields

content_url: Option<String>

Required. Url where the media is stored.

icon: Option<GoogleCloudDialogflowV2IntentMessageImage>

Optional. Icon to display above media content.

description: Option<String>

Optional. Description of media card.

large_image: Option<GoogleCloudDialogflowV2IntentMessageImage>

Optional. Image to display above media content.

name: Option<String>

Required. Name of media card.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[src]

impl Debug for GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[src]

impl Default for GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[src]

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

impl Part for GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[src]

impl Serialize for GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject[src]

Auto Trait Implementations

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, 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.

impl<T> Typeable for T where
    T: Any