pub enum PromptInput {
Messages(Vec<Message>),
Prompt(String),
}Variants§
Trait Implementations§
Source§impl Clone for PromptInput
impl Clone for PromptInput
Source§fn clone(&self) -> PromptInput
fn clone(&self) -> PromptInput
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptInput
impl RefUnwindSafe for PromptInput
impl Send for PromptInput
impl Sync for PromptInput
impl Unpin for PromptInput
impl UnsafeUnpin for PromptInput
impl UnwindSafe for PromptInput
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