pub struct GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest {
pub conversation_context: Option<GoogleCloudDialogflowV2ConversationContext>,
pub generator: Option<GoogleCloudDialogflowV2Generator>,
pub generator_name: Option<String>,
pub trigger_events: Option<Vec<String>>,
}Expand description
The request message for Conversations.GenerateStatelessSuggestion.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§conversation_context: Option<GoogleCloudDialogflowV2ConversationContext>Optional. Context of the conversation, including transcripts.
generator: Option<GoogleCloudDialogflowV2Generator>Uncreated generator. It should be a complete generator that includes all information about the generator.
generator_name: Option<String>The resource name of the existing created generator. Format: projects//locations//generators/
trigger_events: Option<Vec<String>>Optional. A list of trigger events. Generator will be triggered only if it’s trigger event is included here.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl Clone for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
Source§fn clone(&self) -> GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
fn clone(&self) -> GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
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 GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl Default for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
Source§fn default() -> GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
fn default() -> GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
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 RequestValue for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl RefUnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl Send for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl Sync for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl Unpin for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
impl UnwindSafe for GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
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