pub struct RoutingBindings {
pub contract_hash: String,
pub policy_hash: String,
pub tool_authority_hash: Option<String>,
pub catalog_hash: String,
pub run_controls_hash: String,
pub step: u64,
pub workspace_generation: u64,
pub state_binding: String,
pub side_effect_watermark: u64,
pub locked_candidate_id: Option<String>,
}Expand description
State and authority bindings that make a routing decision non-replayable.
Fields§
§contract_hash: StringHash of the full routing contract payload.
policy_hash: StringHash of the policy applied during routing.
Optional hash of the tool-calling authority when present.
catalog_hash: StringContent-addressed digest of the model catalog.
run_controls_hash: StringHash of the run-controls configuration.
step: u64Monotonic step counter for sequential provider invocations.
workspace_generation: u64Monotonic workspace generation for replay protection.
state_binding: StringOpaque state binding that pins this decision to prior outputs.
side_effect_watermark: u64Monotonic watermark tracking side effects to prevent replay.
locked_candidate_id: Option<String>Optional candidate ID locked for the entire step.
Trait Implementations§
Source§impl Clone for RoutingBindings
impl Clone for RoutingBindings
Source§fn clone(&self) -> RoutingBindings
fn clone(&self) -> RoutingBindings
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 RoutingBindings
impl Debug for RoutingBindings
Source§impl<'de> Deserialize<'de> for RoutingBindings
impl<'de> Deserialize<'de> for RoutingBindings
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
impl Eq for RoutingBindings
Source§impl PartialEq for RoutingBindings
impl PartialEq for RoutingBindings
Source§impl Serialize for RoutingBindings
impl Serialize for RoutingBindings
impl StructuralPartialEq for RoutingBindings
Auto Trait Implementations§
impl Freeze for RoutingBindings
impl RefUnwindSafe for RoutingBindings
impl Send for RoutingBindings
impl Sync for RoutingBindings
impl Unpin for RoutingBindings
impl UnsafeUnpin for RoutingBindings
impl UnwindSafe for RoutingBindings
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