pub struct PreparedPrompt {
pub context: PromptContext,
pub system_prompt: Arc<str>,
}Fields§
§context: PromptContext§system_prompt: Arc<str>Trait Implementations§
Source§impl Clone for PreparedPrompt
impl Clone for PreparedPrompt
Source§fn clone(&self) -> PreparedPrompt
fn clone(&self) -> PreparedPrompt
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 moreAuto Trait Implementations§
impl Freeze for PreparedPrompt
impl RefUnwindSafe for PreparedPrompt
impl Send for PreparedPrompt
impl Sync for PreparedPrompt
impl Unpin for PreparedPrompt
impl UnsafeUnpin for PreparedPrompt
impl UnwindSafe for PreparedPrompt
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