pub struct EntryRecord {
pub id: EntryId,
pub conversation_id: ConversationId,
pub kind: String,
pub model: Option<Vec<Value>>,
pub data: Option<Value>,
pub head: Option<EntryId>,
pub edits: Option<Vec<Value>>,
pub by_task_id: Option<TaskId>,
}Expand description
Immutable transcript event. model and edits stay JSON until the message model is ported (phase 4).
Fields§
§id: EntryId§conversation_id: ConversationId§kind: String§model: Option<Vec<Value>>§data: Option<Value>§head: Option<EntryId>§edits: Option<Vec<Value>>§by_task_id: Option<TaskId>Trait Implementations§
Source§impl Clone for EntryRecord
impl Clone for EntryRecord
Source§impl Debug for EntryRecord
impl Debug for EntryRecord
Source§impl<'de> Deserialize<'de> for EntryRecord
impl<'de> Deserialize<'de> for EntryRecord
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 EntryRecord
impl PartialEq for EntryRecord
Source§impl Serialize for EntryRecord
impl Serialize for EntryRecord
impl StructuralPartialEq for EntryRecord
Auto Trait Implementations§
impl Forget for EntryRecord
impl Freeze for EntryRecord
impl Move for EntryRecord
impl RefUnwindSafe for EntryRecord
impl Send for EntryRecord
impl Sync for EntryRecord
impl Unpin for EntryRecord
impl UnsafeUnpin for EntryRecord
impl UnwindSafe for EntryRecord
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