pub struct CrossVerifyResult {
pub ship_id_status: ShipIdStatus,
pub certificate_status: CertificateStatus,
pub authorized_tool_calls: Vec<String>,
pub unauthorized_tool_calls: Vec<String>,
pub authorized_tools_never_called: Vec<String>,
}Expand description
Result of cross-verifying a receipt against a certificate.
Fields§
§ship_id_status: ShipIdStatusWhether the ship IDs match, don’t match, or cannot be determined.
certificate_status: CertificateStatusCertificate validity relative to the cross-verify now timestamp.
Tools that were called AND in the certificate’s authorized list.
Tools that were called but NOT in the certificate’s authorized list. Any entry here means the session exceeded its authorized envelope.
Tools authorized by the certificate but never actually called. Not a failure; useful context for reviewers (“agent had permission to touch the database but didn’t”).
Implementations§
Trait Implementations§
Source§impl Clone for CrossVerifyResult
impl Clone for CrossVerifyResult
Source§fn clone(&self) -> CrossVerifyResult
fn clone(&self) -> CrossVerifyResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CrossVerifyResult
impl RefUnwindSafe for CrossVerifyResult
impl Send for CrossVerifyResult
impl Sync for CrossVerifyResult
impl Unpin for CrossVerifyResult
impl UnsafeUnpin for CrossVerifyResult
impl UnwindSafe for CrossVerifyResult
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