pub struct DagDbGraphContextSelectionResponse {
pub tenant_id: String,
pub namespace: String,
pub request_id: String,
pub task_hash: String,
pub selection_status: DagDbGraphContextSelectionStatus,
pub selected_memory_refs: Vec<DagDbSelectedContextRef>,
pub selected_graph_edges: Vec<DagDbSelectedGraphEdgeRef>,
pub omitted_memory_refs: Vec<DagDbOmittedContextRef>,
pub selection_trace: Vec<DagDbGraphSelectionTraceStep>,
pub selected_token_estimate: u32,
pub token_budget: u32,
pub boundary_warnings: Vec<String>,
}Expand description
Graph context selection response.
Fields§
§tenant_id: String§namespace: String§request_id: String§task_hash: String§selection_status: DagDbGraphContextSelectionStatus§selected_memory_refs: Vec<DagDbSelectedContextRef>§selected_graph_edges: Vec<DagDbSelectedGraphEdgeRef>§omitted_memory_refs: Vec<DagDbOmittedContextRef>§selection_trace: Vec<DagDbGraphSelectionTraceStep>§selected_token_estimate: u32§token_budget: u32§boundary_warnings: Vec<String>Trait Implementations§
Source§impl Clone for DagDbGraphContextSelectionResponse
impl Clone for DagDbGraphContextSelectionResponse
Source§fn clone(&self) -> DagDbGraphContextSelectionResponse
fn clone(&self) -> DagDbGraphContextSelectionResponse
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<'de> Deserialize<'de> for DagDbGraphContextSelectionResponse
impl<'de> Deserialize<'de> for DagDbGraphContextSelectionResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbGraphContextSelectionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbGraphContextSelectionResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbGraphContextSelectionResponse
Source§impl PartialEq for DagDbGraphContextSelectionResponse
impl PartialEq for DagDbGraphContextSelectionResponse
Source§fn eq(&self, other: &DagDbGraphContextSelectionResponse) -> bool
fn eq(&self, other: &DagDbGraphContextSelectionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbGraphContextSelectionResponse
impl Serialize for DagDbGraphContextSelectionResponse
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 DagDbGraphContextSelectionResponse
Auto Trait Implementations§
impl Freeze for DagDbGraphContextSelectionResponse
impl RefUnwindSafe for DagDbGraphContextSelectionResponse
impl Send for DagDbGraphContextSelectionResponse
impl Sync for DagDbGraphContextSelectionResponse
impl Unpin for DagDbGraphContextSelectionResponse
impl UnsafeUnpin for DagDbGraphContextSelectionResponse
impl UnwindSafe for DagDbGraphContextSelectionResponse
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