pub struct SystemInstructionSection {
pub content: String,
pub title: String,
}Expand description
A section within a system instruction, with a label and body text.
Fields§
§content: StringThe content of the section.
title: StringThe title/label for this 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
impl Eq for SystemInstructionSection
Source§impl PartialEq for SystemInstructionSection
impl PartialEq for SystemInstructionSection
Source§fn eq(&self, other: &SystemInstructionSection) -> bool
fn eq(&self, other: &SystemInstructionSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemInstructionSection
impl Serialize for SystemInstructionSection
impl StructuralPartialEq for SystemInstructionSection
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