pub struct GoogleCloudDialogflowV2TextInput {
pub language_code: Option<String>,
pub text: Option<String>,
}
Expand description
Auxiliary proto messages. 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 GoogleCloudDialogflowV2TextInput
impl Clone for GoogleCloudDialogflowV2TextInput
source§fn clone(&self) -> GoogleCloudDialogflowV2TextInput
fn clone(&self) -> GoogleCloudDialogflowV2TextInput
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 GoogleCloudDialogflowV2TextInput
impl Default for GoogleCloudDialogflowV2TextInput
source§fn default() -> GoogleCloudDialogflowV2TextInput
fn default() -> GoogleCloudDialogflowV2TextInput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2TextInput
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2TextInput
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 GoogleCloudDialogflowV2TextInput
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2TextInput
impl Send for GoogleCloudDialogflowV2TextInput
impl Sync for GoogleCloudDialogflowV2TextInput
impl Unpin for GoogleCloudDialogflowV2TextInput
impl UnwindSafe for GoogleCloudDialogflowV2TextInput
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