pub enum SystemInstructions {
Custom(CustomSystemInstructions),
Appended(AppendedSystemInstructions),
}Expand description
Represents the style or content source for system instructions.
Variants§
Custom(CustomSystemInstructions)
Completely custom text override.
Appended(AppendedSystemInstructions)
Standard structured segments appended to the system identity.
Trait Implementations§
Source§impl Clone for SystemInstructions
impl Clone for SystemInstructions
Source§fn clone(&self) -> SystemInstructions
fn clone(&self) -> SystemInstructions
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 SystemInstructions
impl Debug for SystemInstructions
Source§impl<'de> Deserialize<'de> for SystemInstructions
impl<'de> Deserialize<'de> for SystemInstructions
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 SystemInstructions
impl RefUnwindSafe for SystemInstructions
impl Send for SystemInstructions
impl Sync for SystemInstructions
impl Unpin for SystemInstructions
impl UnsafeUnpin for SystemInstructions
impl UnwindSafe for SystemInstructions
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