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

pub struct StaticCanvasPrompt {
    pub url: String,
    pub data: Vec<Value>,
    pub suppress_mic: bool,
    pub send_state_data_to_canvas_app: bool,
    pub enable_full_screen: bool,
}

Represents a Interactive Canvas response to be sent to the user. This can be used in conjunction with the first_simple field in the containing prompt to speak to the user in addition to displaying a interactive canvas response.

Fields

url: String

Required. URL of the web view to load.

data: Vec<Value>

Optional. JSON data to be passed through to the immersive experience web page as an event. If the override field in the containing prompt is false data values defined in this Canvas prompt will be added after data values defined in previous Canvas prompts.

suppress_mic: bool

Optional. A true value means that the mic won’t be opened for capturing input after this immersive response is presented to the user.

send_state_data_to_canvas_app: bool

Optional. If true, conversation related metadata is included and send back to the canvas application.

enable_full_screen: bool

Optional. If true the canvas application occupies the full screen and won’t have a header at the top. A toast message will also be displayed on the loading screen that includes the Action’s display name, the developer’s name, and instructions for exiting the Action. Default value: false.

Trait Implementations

impl Clone for StaticCanvasPrompt[src]

impl Debug for StaticCanvasPrompt[src]

impl Default for StaticCanvasPrompt[src]

impl Message for StaticCanvasPrompt[src]

impl PartialEq<StaticCanvasPrompt> for StaticCanvasPrompt[src]

impl StructuralPartialEq for StaticCanvasPrompt[src]

Auto Trait Implementations

impl RefUnwindSafe for StaticCanvasPrompt

impl Send for StaticCanvasPrompt

impl Sync for StaticCanvasPrompt

impl Unpin for StaticCanvasPrompt

impl UnwindSafe for StaticCanvasPrompt

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]