pub struct BrandVoice {
pub tone: Option<String>,
pub greeting: Option<String>,
pub escalation_message: Option<String>,
}Expand description
Brand voice configuration for consistent agent responses.
Fields§
§tone: Option<String>Tone descriptor (e.g. “friendly”, “professional”, “casual”).
greeting: Option<String>Default greeting message.
escalation_message: Option<String>Escalation message when handing off to human support.
Trait Implementations§
Source§impl Clone for BrandVoice
impl Clone for BrandVoice
Source§fn clone(&self) -> BrandVoice
fn clone(&self) -> BrandVoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrandVoice
impl Debug for BrandVoice
Source§impl<'de> Deserialize<'de> for BrandVoice
impl<'de> Deserialize<'de> for BrandVoice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BrandVoice
impl PartialEq for BrandVoice
Source§fn eq(&self, other: &BrandVoice) -> bool
fn eq(&self, other: &BrandVoice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BrandVoice
impl Serialize for BrandVoice
impl StructuralPartialEq for BrandVoice
Auto Trait Implementations§
impl Freeze for BrandVoice
impl RefUnwindSafe for BrandVoice
impl Send for BrandVoice
impl Sync for BrandVoice
impl Unpin for BrandVoice
impl UnsafeUnpin for BrandVoice
impl UnwindSafe for BrandVoice
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