pub enum HistoryContent {
UserText(String),
Text(String),
Thought(String),
Tool(ToolUpdate),
}Expand description
Display-only updates replayed while restoring a provider conversation.
Variants§
Trait Implementations§
Source§impl Clone for HistoryContent
impl Clone for HistoryContent
Source§fn clone(&self) -> HistoryContent
fn clone(&self) -> HistoryContent
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 HistoryContent
impl Debug for HistoryContent
Source§impl<'de> Deserialize<'de> for HistoryContent
impl<'de> Deserialize<'de> for HistoryContent
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
impl Eq for HistoryContent
Source§impl PartialEq for HistoryContent
impl PartialEq for HistoryContent
Source§impl Serialize for HistoryContent
impl Serialize for HistoryContent
impl StructuralPartialEq for HistoryContent
Auto Trait Implementations§
impl Freeze for HistoryContent
impl RefUnwindSafe for HistoryContent
impl Send for HistoryContent
impl Sync for HistoryContent
impl Unpin for HistoryContent
impl UnsafeUnpin for HistoryContent
impl UnwindSafe for HistoryContent
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