pub struct SystemInstructionSection {
pub content: String,
pub title: String,
}Expand description
A structured section appended to system instructions.
Fields§
§content: StringMain markdown or text body of the section.
title: StringDescribed title of the section.
Trait Implementations§
Source§impl Clone for SystemInstructionSection
impl Clone for SystemInstructionSection
Source§fn clone(&self) -> SystemInstructionSection
fn clone(&self) -> SystemInstructionSection
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 SystemInstructionSection
impl Debug for SystemInstructionSection
Source§impl<'de> Deserialize<'de> for SystemInstructionSection
impl<'de> Deserialize<'de> for SystemInstructionSection
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 SystemInstructionSection
impl RefUnwindSafe for SystemInstructionSection
impl Send for SystemInstructionSection
impl Sync for SystemInstructionSection
impl Unpin for SystemInstructionSection
impl UnsafeUnpin for SystemInstructionSection
impl UnwindSafe for SystemInstructionSection
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