pub struct RouteReceipt {
pub role: String,
pub provider: String,
pub model: String,
pub requested_reasoning: String,
pub effective_reasoning: String,
pub routed_by: RoutedBy,
}Expand description
The exact route a reviewer or verifier ran on.
Fields§
§role: StringFleet role (reviewer, verifier, implementer, …).
provider: String§model: String§requested_reasoning: StringWhat the plan asked for.
effective_reasoning: StringWhat the provider actually applied. Divergence is shown, not smoothed.
routed_by: RoutedByImplementations§
Source§impl RouteReceipt
impl RouteReceipt
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
True when every identity field is present. An incomplete route is not a receipt; it is a claim.
Sourcepub fn display_line(&self) -> String
pub fn display_line(&self) -> String
One-line display: role, exact route, requested→effective, routed by.
Trait Implementations§
Source§impl Clone for RouteReceipt
impl Clone for RouteReceipt
Source§fn clone(&self) -> RouteReceipt
fn clone(&self) -> RouteReceipt
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 RouteReceipt
impl Debug for RouteReceipt
Source§impl<'de> Deserialize<'de> for RouteReceipt
impl<'de> Deserialize<'de> for RouteReceipt
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 RouteReceipt
Source§impl PartialEq for RouteReceipt
impl PartialEq for RouteReceipt
Source§impl Serialize for RouteReceipt
impl Serialize for RouteReceipt
impl StructuralPartialEq for RouteReceipt
Auto Trait Implementations§
impl Freeze for RouteReceipt
impl RefUnwindSafe for RouteReceipt
impl Send for RouteReceipt
impl Sync for RouteReceipt
impl Unpin for RouteReceipt
impl UnsafeUnpin for RouteReceipt
impl UnwindSafe for RouteReceipt
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