[][src]Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia

pub struct GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia {
    pub file_uri: Option<String>,
    pub thumbnail_uri: Option<String>,
    pub height: Option<String>,
}

Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported:

Image Types

image/jpeg image/jpg' image/gif image/png

Video Types

video/h263 video/m4v video/mp4 video/mpeg video/mpeg4 video/webm

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

Fields

file_uri: Option<String>

Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.

thumbnail_uri: Option<String>

Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.

height: Option<String>

Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. (https://goo.gl/NeFCjz). For a standalone card with horizontal layout, height is not customizable, and this field is ignored.

Trait Implementations

impl Part for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia[src]

impl Default for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia[src]

impl Clone for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia[src]

impl Serialize for GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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