Struct gapi_grpc::google::actions::sdk::v2::interactionmodel::prompt::StaticImagePrompt[][src]

pub struct StaticImagePrompt {
    pub url: String,
    pub alt: String,
    pub height: i32,
    pub width: i32,
}

An image displayed in the card.

Fields

url: String

Required. The source url of the image. Images can be JPG, PNG and GIF (animated and non-animated). For example,https://www.agentx.com/logo.png.

alt: String

Required. A text description of the image to be used for accessibility, e.g. screen readers.

height: i32

Optional. The height of the image in pixels.

width: i32

Optional. The width of the image in pixels.

Trait Implementations

impl Clone for StaticImagePrompt[src]

impl Debug for StaticImagePrompt[src]

impl Default for StaticImagePrompt[src]

impl Message for StaticImagePrompt[src]

impl PartialEq<StaticImagePrompt> for StaticImagePrompt[src]

impl StructuralPartialEq for StaticImagePrompt[src]

Auto Trait Implementations

impl RefUnwindSafe for StaticImagePrompt

impl Send for StaticImagePrompt

impl Sync for StaticImagePrompt

impl Unpin for StaticImagePrompt

impl UnwindSafe for StaticImagePrompt

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]