Struct google_dialogflow2::api::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
source · pub struct GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation {
pub messages: Option<Vec<GoogleCloudDialogflowV2Message>>,
}
Expand description
The minimum amount of information required to generate a Summary without having a Conversation resource created.
This type is not used in any activity, and only used as part of another schema.
Fields§
§messages: Option<Vec<GoogleCloudDialogflowV2Message>>
Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl Clone for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
source§fn clone(
&self
) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
fn clone( &self ) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
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 GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl Default for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
source§fn default(
) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
fn default( ) -> GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
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 GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl Send for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl Sync for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl Unpin for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
impl UnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
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