pub struct GoogleCloudDialogflowV2beta1CompileSuggestionResponse {
pub context_size: Option<i32>,
pub latest_message: Option<String>,
pub suggestion: Option<GoogleCloudDialogflowV2beta1Suggestion>,
}
Expand description
The response 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>
Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the CompileSuggestionRequest.context_size field in the request if there aren’t that many messages in the conversation.
latest_message: Option<String>
The name of the latest conversation message used to compile suggestion for. Format: projects//locations//conversations//messages/
.
suggestion: Option<GoogleCloudDialogflowV2beta1Suggestion>
The compiled suggestion.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl Clone for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1CompileSuggestionResponse
fn clone(&self) -> GoogleCloudDialogflowV2beta1CompileSuggestionResponse
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 GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl Default for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
source§fn default() -> GoogleCloudDialogflowV2beta1CompileSuggestionResponse
fn default() -> GoogleCloudDialogflowV2beta1CompileSuggestionResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
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 ResponseResult for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl Send for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl Sync for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl Unpin for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
impl UnwindSafe for GoogleCloudDialogflowV2beta1CompileSuggestionResponse
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