#[non_exhaustive]pub struct BuiltInIntentSummaryBuilder { /* private fields */ }Expand description
A builder for BuiltInIntentSummary.
Implementations§
source§impl BuiltInIntentSummaryBuilder
impl BuiltInIntentSummaryBuilder
sourcepub fn intent_signature(self, input: impl Into<String>) -> Self
pub fn intent_signature(self, input: impl Into<String>) -> Self
The signature of the built-in intent. Use this to specify the parent intent of a derived intent.
sourcepub fn set_intent_signature(self, input: Option<String>) -> Self
pub fn set_intent_signature(self, input: Option<String>) -> Self
The signature of the built-in intent. Use this to specify the parent intent of a derived intent.
sourcepub fn get_intent_signature(&self) -> &Option<String>
pub fn get_intent_signature(&self) -> &Option<String>
The signature of the built-in intent. Use this to specify the parent intent of a derived intent.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the intent.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the intent.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the intent.
sourcepub fn build(self) -> BuiltInIntentSummary
pub fn build(self) -> BuiltInIntentSummary
Consumes the builder and constructs a BuiltInIntentSummary.
Trait Implementations§
source§impl Clone for BuiltInIntentSummaryBuilder
impl Clone for BuiltInIntentSummaryBuilder
source§fn clone(&self) -> BuiltInIntentSummaryBuilder
fn clone(&self) -> BuiltInIntentSummaryBuilder
Returns a copy 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 BuiltInIntentSummaryBuilder
impl Debug for BuiltInIntentSummaryBuilder
source§impl Default for BuiltInIntentSummaryBuilder
impl Default for BuiltInIntentSummaryBuilder
source§fn default() -> BuiltInIntentSummaryBuilder
fn default() -> BuiltInIntentSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BuiltInIntentSummaryBuilder
impl PartialEq for BuiltInIntentSummaryBuilder
source§fn eq(&self, other: &BuiltInIntentSummaryBuilder) -> bool
fn eq(&self, other: &BuiltInIntentSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BuiltInIntentSummaryBuilder
Auto Trait Implementations§
impl Freeze for BuiltInIntentSummaryBuilder
impl RefUnwindSafe for BuiltInIntentSummaryBuilder
impl Send for BuiltInIntentSummaryBuilder
impl Sync for BuiltInIntentSummaryBuilder
impl Unpin for BuiltInIntentSummaryBuilder
impl UnwindSafe for BuiltInIntentSummaryBuilder
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
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>
Creates a shared type from an unshared type.