pub struct GoogleCloudDialogflowV2beta1CompileSuggestionRequest {
pub context_size: Option<i32>,
pub latest_message: Option<String>,
}
Expand description
The request message for Participants.CompileSuggestion.
§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§
§context_size: Option<i32>
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. If zero or less than zero, 20 is used.
latest_message: Option<String>
Optional. The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects//locations//conversations//messages/
.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl Clone for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1CompileSuggestionRequest
fn clone(&self) -> GoogleCloudDialogflowV2beta1CompileSuggestionRequest
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 GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl Default for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
source§fn default() -> GoogleCloudDialogflowV2beta1CompileSuggestionRequest
fn default() -> GoogleCloudDialogflowV2beta1CompileSuggestionRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
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 GoogleCloudDialogflowV2beta1CompileSuggestionRequest
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl Send for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl Sync for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl Unpin for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
impl UnwindSafe for GoogleCloudDialogflowV2beta1CompileSuggestionRequest
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