pub struct Receipt {
pub schema_id: &'static str,
pub source: ReceiptSource,
pub turn: Option<String>,
pub postures: Vec<&'static str>,
pub totals: ReceiptTotals,
pub actions: Vec<ReceiptAction>,
pub omitted_actions: usize,
pub not_recorded: Vec<String>,
pub claim_ceiling: [&'static str; 3],
}Fields§
§schema_id: &'static str§source: ReceiptSource§turn: Option<String>Set when the receipt covers one turn instead of the whole session.
postures: Vec<&'static str>Permission postures the covered turns ran under, in first-seen order
(Ask, Auto-Review, Full Access, Never). Read from each turn’s
own record; empty when no turn recorded one.
totals: ReceiptTotals§actions: Vec<ReceiptAction>§omitted_actions: usizeActions left off the list because it hit MAX_RECEIPT_ACTIONS.
not_recorded: Vec<String>Facts this record does not hold, stated instead of guessed.
claim_ceiling: [&'static str; 3]Trait Implementations§
impl StructuralPartialEq for Receipt
Auto Trait Implementations§
impl Freeze for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnsafeUnpin for Receipt
impl UnwindSafe for Receipt
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