pub struct GoogleCloudDialogflowV2MessageAnnotation {
pub contain_entities: Option<bool>,
pub parts: Option<Vec<GoogleCloudDialogflowV2AnnotatedMessagePart>>,
}
Expand description
Represents the result of annotation for the message.
This type is not used in any activity, and only used as part of another schema.
Fields§
§contain_entities: Option<bool>
Indicates whether the text message contains entities.
parts: Option<Vec<GoogleCloudDialogflowV2AnnotatedMessagePart>>
The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2MessageAnnotation
impl Clone for GoogleCloudDialogflowV2MessageAnnotation
source§fn clone(&self) -> GoogleCloudDialogflowV2MessageAnnotation
fn clone(&self) -> GoogleCloudDialogflowV2MessageAnnotation
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 GoogleCloudDialogflowV2MessageAnnotation
impl Default for GoogleCloudDialogflowV2MessageAnnotation
source§fn default() -> GoogleCloudDialogflowV2MessageAnnotation
fn default() -> GoogleCloudDialogflowV2MessageAnnotation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2MessageAnnotation
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2MessageAnnotation
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 GoogleCloudDialogflowV2MessageAnnotation
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2MessageAnnotation
impl Send for GoogleCloudDialogflowV2MessageAnnotation
impl Sync for GoogleCloudDialogflowV2MessageAnnotation
impl Unpin for GoogleCloudDialogflowV2MessageAnnotation
impl UnwindSafe for GoogleCloudDialogflowV2MessageAnnotation
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