pub struct ProofReceipt {
pub schema_version: &'static str,
pub event_id: u64,
pub device_id: String<48>,
pub timestamp_ms: u64,
pub sensor: EnvironmentReading,
pub sentinel_confidence: f32,
pub decision: ProofDecision,
pub route_reason: RouteReason,
pub reason: String<48>,
pub ai_route: String<64>,
pub local_language_model: String<48>,
pub local_language_prompt: String<96>,
}Fields§
§schema_version: &'static str§event_id: u64§device_id: String<48>§timestamp_ms: u64§sensor: EnvironmentReading§sentinel_confidence: f32§decision: ProofDecision§route_reason: RouteReason§reason: String<48>§ai_route: String<64>§local_language_model: String<48>§local_language_prompt: String<96>Implementations§
Source§impl ProofReceipt
impl ProofReceipt
pub fn to_feature_transfer<const N: usize>(&self) -> Option<FeatureTransfer<N>>
pub fn to_json<const N: usize>(&self) -> Option<String<N>>
Trait Implementations§
Source§impl Clone for ProofReceipt
impl Clone for ProofReceipt
Source§fn clone(&self) -> ProofReceipt
fn clone(&self) -> ProofReceipt
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 ProofReceipt
impl Debug for ProofReceipt
Source§impl PartialEq for ProofReceipt
impl PartialEq for ProofReceipt
Source§fn eq(&self, other: &ProofReceipt) -> bool
fn eq(&self, other: &ProofReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProofReceipt
Auto Trait Implementations§
impl Freeze for ProofReceipt
impl RefUnwindSafe for ProofReceipt
impl Send for ProofReceipt
impl Sync for ProofReceipt
impl Unpin for ProofReceipt
impl UnsafeUnpin for ProofReceipt
impl UnwindSafe for ProofReceipt
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