pub struct GoogleCloudDialogflowV2IntentMessageSimpleResponse {
pub display_text: Option<String>,
pub ssml: Option<String>,
pub text_to_speech: Option<String>,
}
Expand description
The simple response message containing speech or text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_text: Option<String>
Optional. The text to display.
ssml: Option<String>
One of text_to_speech or ssml must be provided. Structured spoken response to the user in the SSML format. Mutually exclusive with text_to_speech.
text_to_speech: Option<String>
One of text_to_speech or ssml must be provided. The plain text of the speech output. Mutually exclusive with ssml.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl Clone for GoogleCloudDialogflowV2IntentMessageSimpleResponse
source§fn clone(&self) -> GoogleCloudDialogflowV2IntentMessageSimpleResponse
fn clone(&self) -> GoogleCloudDialogflowV2IntentMessageSimpleResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl Default for GoogleCloudDialogflowV2IntentMessageSimpleResponse
source§fn default() -> GoogleCloudDialogflowV2IntentMessageSimpleResponse
fn default() -> GoogleCloudDialogflowV2IntentMessageSimpleResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentMessageSimpleResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2IntentMessageSimpleResponse
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl Send for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl Sync for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl Unpin for GoogleCloudDialogflowV2IntentMessageSimpleResponse
impl UnwindSafe for GoogleCloudDialogflowV2IntentMessageSimpleResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more