pub struct EncodeResponse {Show 14 fields
pub memory_id: WireMemoryId,
pub was_deduplicated: bool,
pub salience: f32,
pub auto_edges_added: u32,
pub lsn: u64,
pub space_id: WireUuid,
pub session_id: WireSessionId,
pub kind: MemoryKindWire,
pub created_at_unix_nanos: u64,
pub edges_out_count: u32,
pub embedding_model_fp: [u8; 16],
pub pending_stages: Vec<StageKind>,
pub has_active_schema: bool,
pub trace: Option<EncodeTrace>,
}Expand description
ENCODE_RESP (0x00A0).
Fields§
§memory_id: WireMemoryId§was_deduplicated: bool§salience: f32§auto_edges_added: u32§lsn: u64§space_id: WireUuid§session_id: WireSessionId§kind: MemoryKindWire§created_at_unix_nanos: u64§edges_out_count: u32§embedding_model_fp: [u8; 16]§pending_stages: Vec<StageKind>§has_active_schema: bool§trace: Option<EncodeTrace>Full synchronous write-analysis trace, present only when the request
set trace = true; None otherwise (and absent from the wire map).
The same async stages are also observable on SUBSCRIBE keyed by lsn
pending_stages; this field is the one-response alternative.
Trait Implementations§
Source§impl Clone for EncodeResponse
impl Clone for EncodeResponse
Source§impl Debug for EncodeResponse
impl Debug for EncodeResponse
Source§impl<'de> Deserialize<'de> for EncodeResponse
impl<'de> Deserialize<'de> for EncodeResponse
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 EncodeResponse
impl PartialEq for EncodeResponse
Source§impl Serialize for EncodeResponse
impl Serialize for EncodeResponse
impl StructuralPartialEq for EncodeResponse
Auto Trait Implementations§
impl Freeze for EncodeResponse
impl RefUnwindSafe for EncodeResponse
impl Send for EncodeResponse
impl Sync for EncodeResponse
impl Unpin for EncodeResponse
impl UnsafeUnpin for EncodeResponse
impl UnwindSafe for EncodeResponse
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