pub enum HistoryMutation {
Append(Vec<Message>),
Replace(Vec<Message>),
}Expand description
Prompt-history mutation committed atomically with Runtime control state.
Variants§
Append(Vec<Message>)
Adds rows to the currently materialized history.
Replace(Vec<Message>)
Replaces the materialized history after deterministic window truncation.
Trait Implementations§
Source§impl Clone for HistoryMutation
impl Clone for HistoryMutation
Source§fn clone(&self) -> HistoryMutation
fn clone(&self) -> HistoryMutation
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 moreSource§impl Debug for HistoryMutation
impl Debug for HistoryMutation
Source§impl<'de> Deserialize<'de> for HistoryMutation
impl<'de> Deserialize<'de> for HistoryMutation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HistoryMutation
impl PartialEq for HistoryMutation
Source§impl Serialize for HistoryMutation
impl Serialize for HistoryMutation
impl StructuralPartialEq for HistoryMutation
Auto Trait Implementations§
impl Freeze for HistoryMutation
impl RefUnwindSafe for HistoryMutation
impl Send for HistoryMutation
impl Sync for HistoryMutation
impl Unpin for HistoryMutation
impl UnsafeUnpin for HistoryMutation
impl UnwindSafe for HistoryMutation
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