pub struct ExtractorPrompts {
pub system_role: String,
pub target_language: String,
pub extraction_directives: String,
pub learner_profile: LearnerProfile,
pub skill_context: SkillContextPrompts,
pub user_context: String,
pub output_instruction: String,
}Fields§
§system_role: String§target_language: String§extraction_directives: String§learner_profile: LearnerProfile§skill_context: SkillContextPrompts§user_context: String§output_instruction: StringImplementations§
Trait Implementations§
Source§impl Clone for ExtractorPrompts
impl Clone for ExtractorPrompts
Source§fn clone(&self) -> ExtractorPrompts
fn clone(&self) -> ExtractorPrompts
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 ExtractorPrompts
impl Debug for ExtractorPrompts
Source§impl<'de> Deserialize<'de> for ExtractorPrompts
impl<'de> Deserialize<'de> for ExtractorPrompts
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 ExtractorPrompts
impl RefUnwindSafe for ExtractorPrompts
impl Send for ExtractorPrompts
impl Sync for ExtractorPrompts
impl Unpin for ExtractorPrompts
impl UnsafeUnpin for ExtractorPrompts
impl UnwindSafe for ExtractorPrompts
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