pub struct DagDbRouteResponse {Show 19 fields
pub schema_version: String,
pub tenant_id: String,
pub namespace: String,
pub idempotency_key: String,
pub route_id: String,
pub receipt_hash: String,
pub validation_status: ValidationStatus,
pub council_status: CouncilReviewStatus,
pub route_status: RouteStatus,
pub dag_finality_status: DagFinalityStatus,
pub selected_memory_ids: Vec<String>,
pub route_score_bp: u16,
pub token_budget: u32,
pub token_estimate: u32,
pub stale_at: String,
pub created_new: bool,
pub validation_report_id: Option<String>,
pub council_decision_id: Option<String>,
pub rejected_memory_ids: Option<Vec<String>>,
}Expand description
Route response.
Fields§
§schema_version: StringStable wire-contract version (dagdb_route_response_v1).
tenant_id: String§namespace: String§idempotency_key: String§route_id: String§receipt_hash: String§validation_status: ValidationStatus§council_status: CouncilReviewStatus§route_status: RouteStatus§dag_finality_status: DagFinalityStatus§selected_memory_ids: Vec<String>§route_score_bp: u16§token_budget: u32§token_estimate: u32§stale_at: String§created_new: bool§validation_report_id: Option<String>§council_decision_id: Option<String>§rejected_memory_ids: Option<Vec<String>>Trait Implementations§
Source§impl Clone for DagDbRouteResponse
impl Clone for DagDbRouteResponse
Source§fn clone(&self) -> DagDbRouteResponse
fn clone(&self) -> DagDbRouteResponse
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 DagDbRouteResponse
impl Debug for DagDbRouteResponse
Source§impl<'de> Deserialize<'de> for DagDbRouteResponse
impl<'de> Deserialize<'de> for DagDbRouteResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbRouteResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DagDbRouteResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DagDbRouteResponse
Source§impl PartialEq for DagDbRouteResponse
impl PartialEq for DagDbRouteResponse
Source§fn eq(&self, other: &DagDbRouteResponse) -> bool
fn eq(&self, other: &DagDbRouteResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DagDbRouteResponse
impl Serialize for DagDbRouteResponse
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 DagDbRouteResponse
Auto Trait Implementations§
impl Freeze for DagDbRouteResponse
impl RefUnwindSafe for DagDbRouteResponse
impl Send for DagDbRouteResponse
impl Sync for DagDbRouteResponse
impl Unpin for DagDbRouteResponse
impl UnsafeUnpin for DagDbRouteResponse
impl UnwindSafe for DagDbRouteResponse
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