pub struct GoogleCloudDialogflowV2ConversationModel {
pub article_suggestion_model_metadata: Option<GoogleCloudDialogflowV2ArticleSuggestionModelMetadata>,
pub create_time: Option<DateTime<Utc>>,
pub datasets: Option<Vec<GoogleCloudDialogflowV2InputDataset>>,
pub display_name: Option<String>,
pub language_code: Option<String>,
pub name: Option<String>,
pub smart_reply_model_metadata: Option<GoogleCloudDialogflowV2SmartReplyModelMetadata>,
pub state: Option<String>,
}
Expand description
Represents a conversation model.
§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).
- conversation models create projects (request)
- conversation models get projects (response)
- locations conversation models create projects (request)
- locations conversation models get projects (response)
Fields§
§article_suggestion_model_metadata: Option<GoogleCloudDialogflowV2ArticleSuggestionModelMetadata>
Metadata for article suggestion models.
create_time: Option<DateTime<Utc>>
Output only. Creation time of this model.
datasets: Option<Vec<GoogleCloudDialogflowV2InputDataset>>
Required. Datasets used to create model.
display_name: Option<String>
Required. The display name of the model. At most 64 bytes long.
language_code: Option<String>
Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: “en-US”.
name: Option<String>
ConversationModel resource name. Format: projects//conversationModels/
smart_reply_model_metadata: Option<GoogleCloudDialogflowV2SmartReplyModelMetadata>
Metadata for smart reply models.
state: Option<String>
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2ConversationModel
impl Clone for GoogleCloudDialogflowV2ConversationModel
Source§fn clone(&self) -> GoogleCloudDialogflowV2ConversationModel
fn clone(&self) -> GoogleCloudDialogflowV2ConversationModel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2ConversationModel
impl Default for GoogleCloudDialogflowV2ConversationModel
Source§fn default() -> GoogleCloudDialogflowV2ConversationModel
fn default() -> GoogleCloudDialogflowV2ConversationModel
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ConversationModel
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2ConversationModel
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>,
impl RequestValue for GoogleCloudDialogflowV2ConversationModel
impl ResponseResult for GoogleCloudDialogflowV2ConversationModel
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2ConversationModel
impl RefUnwindSafe for GoogleCloudDialogflowV2ConversationModel
impl Send for GoogleCloudDialogflowV2ConversationModel
impl Sync for GoogleCloudDialogflowV2ConversationModel
impl Unpin for GoogleCloudDialogflowV2ConversationModel
impl UnwindSafe for GoogleCloudDialogflowV2ConversationModel
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
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>
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>
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