pub enum InitialHistory {
New,
Forked(Vec<Value>),
Resumed {
conversation_id: String,
history: Vec<Value>,
rollout_path: PathBuf,
},
}Variants§
Trait Implementations§
Source§impl Clone for InitialHistory
impl Clone for InitialHistory
Source§fn clone(&self) -> InitialHistory
fn clone(&self) -> InitialHistory
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 InitialHistory
impl RefUnwindSafe for InitialHistory
impl Send for InitialHistory
impl Sync for InitialHistory
impl Unpin for InitialHistory
impl UnsafeUnpin for InitialHistory
impl UnwindSafe for InitialHistory
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