pub struct DagDbGraphContextPacket {Show 14 fields
pub schema_version: String,
pub tenant_id: String,
pub namespace: String,
pub request_id: String,
pub task: String,
pub task_hash: String,
pub packet_hash: String,
pub selected_memory_refs: Vec<DagDbSelectedContextRef>,
pub selected_graph_edges: Vec<DagDbSelectedGraphEdgeRef>,
pub citation_refs: Vec<DagDbContextPacketCitationRef>,
pub packet_metrics: DagDbContextPacketMetrics,
pub boundaries: DagDbContextPacketBoundaries,
pub agent_usage_instructions: Vec<String>,
pub markdown: String,
}Expand description
Bounded graph context packet emitted by the Rust packet builder.
Fields§
§schema_version: String§tenant_id: String§namespace: String§request_id: String§task: String§task_hash: String§packet_hash: String§selected_memory_refs: Vec<DagDbSelectedContextRef>§selected_graph_edges: Vec<DagDbSelectedGraphEdgeRef>§citation_refs: Vec<DagDbContextPacketCitationRef>§packet_metrics: DagDbContextPacketMetrics§boundaries: DagDbContextPacketBoundaries§agent_usage_instructions: Vec<String>§markdown: StringTrait Implementations§
Source§impl Clone for DagDbGraphContextPacket
impl Clone for DagDbGraphContextPacket
Source§fn clone(&self) -> DagDbGraphContextPacket
fn clone(&self) -> DagDbGraphContextPacket
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 DagDbGraphContextPacket
impl Debug for DagDbGraphContextPacket
Source§impl<'de> Deserialize<'de> for DagDbGraphContextPacket
impl<'de> Deserialize<'de> for DagDbGraphContextPacket
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbGraphContextPacket, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbGraphContextPacket, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbGraphContextPacket
Source§impl PartialEq for DagDbGraphContextPacket
impl PartialEq for DagDbGraphContextPacket
Source§fn eq(&self, other: &DagDbGraphContextPacket) -> bool
fn eq(&self, other: &DagDbGraphContextPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbGraphContextPacket
impl Serialize for DagDbGraphContextPacket
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DagDbGraphContextPacket
Auto Trait Implementations§
impl Freeze for DagDbGraphContextPacket
impl RefUnwindSafe for DagDbGraphContextPacket
impl Send for DagDbGraphContextPacket
impl Sync for DagDbGraphContextPacket
impl Unpin for DagDbGraphContextPacket
impl UnsafeUnpin for DagDbGraphContextPacket
impl UnwindSafe for DagDbGraphContextPacket
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