pub struct BudgetUsageRecord {
pub capability_id: String,
pub grant_index: u32,
pub invocation_count: u32,
pub updated_at: i64,
pub seq: u64,
pub total_cost_exposed: u64,
pub total_cost_realized_spend: u64,
}Fields§
§capability_id: String§grant_index: u32§invocation_count: u32§updated_at: i64§seq: u64§total_cost_exposed: u64§total_cost_realized_spend: u64Implementations§
Source§impl BudgetUsageRecord
impl BudgetUsageRecord
pub fn committed_cost_units(&self) -> Result<u64, BudgetStoreError>
Trait Implementations§
Source§impl Clone for BudgetUsageRecord
impl Clone for BudgetUsageRecord
Source§fn clone(&self) -> BudgetUsageRecord
fn clone(&self) -> BudgetUsageRecord
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 moreSource§impl Debug for BudgetUsageRecord
impl Debug for BudgetUsageRecord
Source§impl PartialEq for BudgetUsageRecord
impl PartialEq for BudgetUsageRecord
impl Eq for BudgetUsageRecord
impl StructuralPartialEq for BudgetUsageRecord
Auto Trait Implementations§
impl Freeze for BudgetUsageRecord
impl RefUnwindSafe for BudgetUsageRecord
impl Send for BudgetUsageRecord
impl Sync for BudgetUsageRecord
impl Unpin for BudgetUsageRecord
impl UnsafeUnpin for BudgetUsageRecord
impl UnwindSafe for BudgetUsageRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.