Struct google_dialogflow2_beta1::IntentTrainingPhrasePart
[−]
[src]
pub struct IntentTrainingPhrasePart { pub alias: Option<String>, pub entity_type: Option<String>, pub text: Option<String>, pub user_defined: Option<bool>, }
Represents a part of a training phrase.
This type is not used in any activity, and only used as part of another schema.
Fields
alias: Option<String>
Optional. The parameter name for the value extracted from the annotated part of the example.
entity_type: Option<String>
Optional. The entity type name prefixed with @
. This field is
required for the annotated part of the text and applies only to
examples.
text: Option<String>
Required. The text corresponding to the example or template, if there are no annotations. For annotated examples, it is the text for one of the example's parts.
user_defined: Option<bool>
Optional. Indicates whether the text was manually annotated by the developer.
Trait Implementations
impl Default for IntentTrainingPhrasePart
[src]
fn default() -> IntentTrainingPhrasePart
[src]
Returns the "default value" for a type. Read more
impl Clone for IntentTrainingPhrasePart
[src]
fn clone(&self) -> IntentTrainingPhrasePart
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more