pub struct GoogleCloudDialogflowV2beta1SuggestArticlesResponse {
pub article_answers: Option<Vec<GoogleCloudDialogflowV2beta1ArticleAnswer>>,
pub context_size: Option<i32>,
pub latest_message: Option<String>,
}
Expand description
The response message for Participants.SuggestArticles.
§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§
§article_answers: Option<Vec<GoogleCloudDialogflowV2beta1ArticleAnswer>>
Output only. Articles ordered by score in descending order.
context_size: Option<i32>
Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestArticlesResponse.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/
.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl Clone for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
source§fn clone(&self) -> GoogleCloudDialogflowV2beta1SuggestArticlesResponse
fn clone(&self) -> GoogleCloudDialogflowV2beta1SuggestArticlesResponse
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 GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl Default for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
source§fn default() -> GoogleCloudDialogflowV2beta1SuggestArticlesResponse
fn default() -> GoogleCloudDialogflowV2beta1SuggestArticlesResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
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 GoogleCloudDialogflowV2beta1SuggestArticlesResponse
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl Send for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl Sync for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl Unpin for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
impl UnwindSafe for GoogleCloudDialogflowV2beta1SuggestArticlesResponse
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