#[non_exhaustive]pub struct SummarizationSection {
pub key: String,
pub definition: String,
pub type: Type,
/* private fields */
}Available on crate features
conversations or generators only.Expand description
Represents the section of summarization.
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.key: StringOptional. Name of the section, for example, “situation”.
definition: StringOptional. Definition of the section, for example, “what the customer needs help with or has question about.”
type: TypeOptional. Type of the summarization section.
Implementations§
Source§impl SummarizationSection
impl SummarizationSection
pub fn new() -> Self
Sourcepub fn set_definition<T: Into<String>>(self, v: T) -> Self
pub fn set_definition<T: Into<String>>(self, v: T) -> Self
Sets the value of definition.
§Example
ⓘ
let x = SummarizationSection::new().set_definition("example");Trait Implementations§
Source§impl Clone for SummarizationSection
impl Clone for SummarizationSection
Source§fn clone(&self) -> SummarizationSection
fn clone(&self) -> SummarizationSection
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 SummarizationSection
impl Debug for SummarizationSection
Source§impl Default for SummarizationSection
impl Default for SummarizationSection
Source§fn default() -> SummarizationSection
fn default() -> SummarizationSection
Returns the “default value” for a type. Read more
Source§impl Message for SummarizationSection
impl Message for SummarizationSection
Source§impl PartialEq for SummarizationSection
impl PartialEq for SummarizationSection
impl StructuralPartialEq for SummarizationSection
Auto Trait Implementations§
impl Freeze for SummarizationSection
impl RefUnwindSafe for SummarizationSection
impl Send for SummarizationSection
impl Sync for SummarizationSection
impl Unpin for SummarizationSection
impl UnwindSafe for SummarizationSection
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