pub struct SystemPromptSection {
pub instances: Vec<PromptInstanceSection>,
}Expand description
System prompt instances configuration.
Fields§
§instances: Vec<PromptInstanceSection>Named prompt instances (content for strategy templates).
Trait Implementations§
Source§impl Clone for SystemPromptSection
impl Clone for SystemPromptSection
Source§fn clone(&self) -> SystemPromptSection
fn clone(&self) -> SystemPromptSection
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 SystemPromptSection
impl Debug for SystemPromptSection
Source§impl Default for SystemPromptSection
impl Default for SystemPromptSection
Source§fn default() -> SystemPromptSection
fn default() -> SystemPromptSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemPromptSectionwhere
SystemPromptSection: Default,
impl<'de> Deserialize<'de> for SystemPromptSectionwhere
SystemPromptSection: Default,
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 SystemPromptSection
impl RefUnwindSafe for SystemPromptSection
impl Send for SystemPromptSection
impl Sync for SystemPromptSection
impl Unpin for SystemPromptSection
impl UnsafeUnpin for SystemPromptSection
impl UnwindSafe for SystemPromptSection
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