pub struct GoogleCloudDialogflowV2beta1Message {
pub content: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub language_code: Option<String>,
pub message_annotation: Option<GoogleCloudDialogflowV2beta1MessageAnnotation>,
pub name: Option<String>,
pub participant: Option<String>,
pub participant_role: Option<String>,
pub send_time: Option<DateTime<Utc>>,
pub sentiment_analysis: Option<GoogleCloudDialogflowV2beta1SentimentAnalysisResult>,
}Expand description
Represents a message posted into a conversation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§content: Option<String>Required. The message content.
create_time: Option<DateTime<Utc>>Output only. The time when the message was created in Contact Center AI.
language_code: Option<String>Optional. The message language. This should be a BCP-47 language tag. Example: “en-US”.
message_annotation: Option<GoogleCloudDialogflowV2beta1MessageAnnotation>Output only. The annotation for the message.
name: Option<String>Optional. The unique identifier of the message. Format: projects//locations//conversations//messages/.
participant: Option<String>Output only. The participant that sends this message.
participant_role: Option<String>Output only. The role of the participant.
send_time: Option<DateTime<Utc>>Optional. The time when the message was sent.
sentiment_analysis: Option<GoogleCloudDialogflowV2beta1SentimentAnalysisResult>Output only. The sentiment analysis result for the message.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2beta1Message
impl Clone for GoogleCloudDialogflowV2beta1Message
Source§fn clone(&self) -> GoogleCloudDialogflowV2beta1Message
fn clone(&self) -> GoogleCloudDialogflowV2beta1Message
Returns a duplicate 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 GoogleCloudDialogflowV2beta1Message
impl Default for GoogleCloudDialogflowV2beta1Message
Source§fn default() -> GoogleCloudDialogflowV2beta1Message
fn default() -> GoogleCloudDialogflowV2beta1Message
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1Message
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1Message
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 GoogleCloudDialogflowV2beta1Message
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2beta1Message
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1Message
impl Send for GoogleCloudDialogflowV2beta1Message
impl Sync for GoogleCloudDialogflowV2beta1Message
impl Unpin for GoogleCloudDialogflowV2beta1Message
impl UnwindSafe for GoogleCloudDialogflowV2beta1Message
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more