pub enum Instructions {
Text(String),
Markdown(Markdown),
}Expand description
Where an agent’s always-on prompt comes from.
Variants§
Trait Implementations§
Source§impl Clone for Instructions
impl Clone for Instructions
Source§impl Debug for Instructions
impl Debug for Instructions
Source§impl From<&str> for Instructions
impl From<&str> for Instructions
Source§impl From<Markdown> for Instructions
impl From<Markdown> for Instructions
Auto Trait Implementations§
impl Freeze for Instructions
impl RefUnwindSafe for Instructions
impl Send for Instructions
impl Sync for Instructions
impl Unpin for Instructions
impl UnsafeUnpin for Instructions
impl UnwindSafe for Instructions
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