Struct google_dialogflow2::api::GoogleCloudDialogflowV2IntentTrainingPhrase [−][src]
Represents an example that the agent is trained on.
This type is not used in any activity, and only used as part of another schema.
Fields
name: Option<String>Output only. The unique identifier of this training phrase.
parts: Option<Vec<GoogleCloudDialogflowV2IntentTrainingPhrasePart>>Required. The ordered list of training phrase parts. The parts are concatenated in order to form the training phrase. Note: The API does not automatically annotate training phrases like the Dialogflow Console does. Note: Do not forget to include whitespace at part boundaries, so the training phrase is well formatted when the parts are concatenated. If the training phrase does not need to be annotated with parameters, you just need a single part with only the Part.text field set. If you want to annotate the training phrase, you must create multiple parts, where the fields of each part are populated in one of two ways: - Part.text is set to a part of the phrase that has no parameters. - Part.text is set to a part of the phrase that you want to annotate, and the entity_type, alias, and user_defined fields are all set.
times_added_count: Option<i32>Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.
type_: Option<String>Required. The type of the training phrase.
Trait Implementations
impl Clone for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
fn clone(&self) -> GoogleCloudDialogflowV2IntentTrainingPhrase[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl Default for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl Serialize for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl Send for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl Sync for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl Unpin for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
impl UnwindSafe for GoogleCloudDialogflowV2IntentTrainingPhrase[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,