Struct gapi_grpc::google::actions::sdk::v2::conversation::MediaObject[][src]

pub struct MediaObject {
    pub name: String,
    pub description: String,
    pub url: String,
    pub image: Option<MediaImage>,
}

Represents a single media object

Fields

name: String

Name of this media object.

description: String

Description of this media object.

url: String

The url pointing to the media content.

image: Option<MediaImage>

Image to show with the media card.

Trait Implementations

impl Clone for MediaObject[src]

impl Debug for MediaObject[src]

impl Default for MediaObject[src]

impl Message for MediaObject[src]

impl PartialEq<MediaObject> for MediaObject[src]

impl StructuralPartialEq for MediaObject[src]

Auto Trait Implementations

impl RefUnwindSafe for MediaObject

impl Send for MediaObject

impl Sync for MediaObject

impl Unpin for MediaObject

impl UnwindSafe for MediaObject

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]