Struct google_dialogflow2::GoogleCloudDialogflowV2IntentTrainingPhrase [−][src]
pub struct GoogleCloudDialogflowV2IntentTrainingPhrase { pub parts: Option<Vec<GoogleCloudDialogflowV2IntentTrainingPhrasePart>>, pub type_: Option<String>, pub name: Option<String>, pub times_added_count: Option<i32>, }
Represents an example or template that the agent is trained on.
This type is not used in any activity, and only used as part of another schema.
Fields
parts: Option<Vec<GoogleCloudDialogflowV2IntentTrainingPhrasePart>>
Required. The collection of training phrase parts (can be annotated).
Fields: entity_type
, alias
and user_defined
should be populated
only for the annotated parts of the training phrase.
type_: Option<String>
Required. The type of the training phrase.
name: Option<String>
Output only. The unique identifier of this training phrase.
times_added_count: Option<i32>
Optional. Indicates how many times this example or template was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
Trait Implementations
impl Default for GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
impl Default for GoogleCloudDialogflowV2IntentTrainingPhrase
fn default() -> GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
fn default() -> GoogleCloudDialogflowV2IntentTrainingPhrase
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
impl Clone for GoogleCloudDialogflowV2IntentTrainingPhrase
fn clone(&self) -> GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
fn clone(&self) -> GoogleCloudDialogflowV2IntentTrainingPhrase
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
impl Debug for GoogleCloudDialogflowV2IntentTrainingPhrase
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2IntentTrainingPhrase
[src]
impl Part for GoogleCloudDialogflowV2IntentTrainingPhrase