pub struct GoogleCloudDialogflowV2beta1TextInput {
pub language_code: Option<String>,
pub text: Option<String>,
}
Expand description
Represents the natural language text to be processed.
This type is not used in any activity, and only used as part of another schema.
Fields§
§language_code: Option<String>
Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
text: Option<String>
Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters for virtual agent interactions.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1TextInput
impl Clone for GoogleCloudDialogflowV2beta1TextInput
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1TextInput
fn clone(&self) -> GoogleCloudDialogflowV2beta1TextInput
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 GoogleCloudDialogflowV2beta1TextInput
impl Default for GoogleCloudDialogflowV2beta1TextInput
source§fn default() -> GoogleCloudDialogflowV2beta1TextInput
fn default() -> GoogleCloudDialogflowV2beta1TextInput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1TextInput
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1TextInput
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 GoogleCloudDialogflowV2beta1TextInput
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1TextInput
impl Send for GoogleCloudDialogflowV2beta1TextInput
impl Sync for GoogleCloudDialogflowV2beta1TextInput
impl Unpin for GoogleCloudDialogflowV2beta1TextInput
impl UnwindSafe for GoogleCloudDialogflowV2beta1TextInput
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