#[non_exhaustive]pub struct FollowupIntentInfo {
pub followup_intent_name: String,
pub parent_followup_intent_name: String,
/* private fields */
}Available on crate features
answer-records or intents or participants or sessions only.Expand description
Represents a single followup intent in the chain.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.followup_intent_name: StringThe unique identifier of the followup intent.
Format: projects/<Project ID>/agent/intents/<Intent ID>.
parent_followup_intent_name: StringThe unique identifier of the followup intent’s parent.
Format: projects/<Project ID>/agent/intents/<Intent ID>.
Implementations§
Source§impl FollowupIntentInfo
impl FollowupIntentInfo
pub fn new() -> Self
Sourcepub fn set_followup_intent_name<T: Into<String>>(self, v: T) -> Self
pub fn set_followup_intent_name<T: Into<String>>(self, v: T) -> Self
Sets the value of followup_intent_name.
§Example
ⓘ
let x = FollowupIntentInfo::new().set_followup_intent_name("example");Sourcepub fn set_parent_followup_intent_name<T: Into<String>>(self, v: T) -> Self
pub fn set_parent_followup_intent_name<T: Into<String>>(self, v: T) -> Self
Sets the value of parent_followup_intent_name.
§Example
ⓘ
let x = FollowupIntentInfo::new().set_parent_followup_intent_name("example");Trait Implementations§
Source§impl Clone for FollowupIntentInfo
impl Clone for FollowupIntentInfo
Source§fn clone(&self) -> FollowupIntentInfo
fn clone(&self) -> FollowupIntentInfo
Returns a duplicate 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 Debug for FollowupIntentInfo
impl Debug for FollowupIntentInfo
Source§impl Default for FollowupIntentInfo
impl Default for FollowupIntentInfo
Source§fn default() -> FollowupIntentInfo
fn default() -> FollowupIntentInfo
Returns the “default value” for a type. Read more
Source§impl Message for FollowupIntentInfo
impl Message for FollowupIntentInfo
Source§impl PartialEq for FollowupIntentInfo
impl PartialEq for FollowupIntentInfo
impl StructuralPartialEq for FollowupIntentInfo
Auto Trait Implementations§
impl Freeze for FollowupIntentInfo
impl RefUnwindSafe for FollowupIntentInfo
impl Send for FollowupIntentInfo
impl Sync for FollowupIntentInfo
impl Unpin for FollowupIntentInfo
impl UnwindSafe for FollowupIntentInfo
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