pub enum SystemMessageConfig {
Append {
content: Option<String>,
},
Replace {
content: String,
},
}Expand description
System message configuration for session creation.
Variants§
Append
Append mode: SDK foundation + optional custom content.
Replace
Replace mode: Full control, caller provides entire system message.
Trait Implementations§
Source§impl Clone for SystemMessageConfig
impl Clone for SystemMessageConfig
Source§fn clone(&self) -> SystemMessageConfig
fn clone(&self) -> SystemMessageConfig
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 SystemMessageConfig
impl Debug for SystemMessageConfig
Source§impl<'de> Deserialize<'de> for SystemMessageConfig
impl<'de> Deserialize<'de> for SystemMessageConfig
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
Auto Trait Implementations§
impl Freeze for SystemMessageConfig
impl RefUnwindSafe for SystemMessageConfig
impl Send for SystemMessageConfig
impl Sync for SystemMessageConfig
impl Unpin for SystemMessageConfig
impl UnsafeUnpin for SystemMessageConfig
impl UnwindSafe for SystemMessageConfig
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