pub struct LessonNotes {
pub text: String,
pub ids: Vec<String>,
}Expand description
The approved lessons of one scope, ready for a system prompt.
Fields§
§text: StringThe notes section, or an empty string when there is nothing to add.
ids: Vec<String>Ids of the lessons in text, in order.
Implementations§
Trait Implementations§
Source§impl Clone for LessonNotes
impl Clone for LessonNotes
Source§impl Debug for LessonNotes
impl Debug for LessonNotes
Source§impl Default for LessonNotes
impl Default for LessonNotes
impl Eq for LessonNotes
Source§impl PartialEq for LessonNotes
impl PartialEq for LessonNotes
impl StructuralPartialEq for LessonNotes
Auto Trait Implementations§
impl Forget for LessonNotes
impl Freeze for LessonNotes
impl Move for LessonNotes
impl RefUnwindSafe for LessonNotes
impl Send for LessonNoteswhere
RawVecInner: Send,
impl Sync for LessonNoteswhere
RawVecInner: Sync,
impl Unpin for LessonNotes
impl UnsafeUnpin for LessonNoteswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for LessonNoteswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.