pub struct CustomEntry {
pub id: Option<String>,
pub parent_id: Option<String>,
pub timestamp: Option<String>,
pub content: Value,
pub extra: Map<String, Value>,
}Expand description
A custom_message line — extension context that replays as a user turn.
Fields§
§id: Option<String>§parent_id: Option<String>§timestamp: Option<String>§content: Value§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for CustomEntry
impl Clone for CustomEntry
Source§fn clone(&self) -> CustomEntry
fn clone(&self) -> CustomEntry
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 CustomEntry
impl Debug for CustomEntry
Source§impl<'de> Deserialize<'de> for CustomEntry
impl<'de> Deserialize<'de> for CustomEntry
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 CustomEntry
impl PartialEq for CustomEntry
Source§impl Serialize for CustomEntry
impl Serialize for CustomEntry
impl StructuralPartialEq for CustomEntry
Auto Trait Implementations§
impl Freeze for CustomEntry
impl RefUnwindSafe for CustomEntry
impl Send for CustomEntry
impl Sync for CustomEntry
impl Unpin for CustomEntry
impl UnsafeUnpin for CustomEntry
impl UnwindSafe for CustomEntry
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