pub struct BudgetMutationRecord {Show 18 fields
pub event_id: String,
pub hold_id: Option<String>,
pub capability_id: String,
pub grant_index: u32,
pub kind: BudgetMutationKind,
pub allowed: Option<bool>,
pub recorded_at: i64,
pub event_seq: u64,
pub usage_seq: Option<u64>,
pub exposure_units: u64,
pub realized_spend_units: u64,
pub max_invocations: Option<u32>,
pub max_cost_per_invocation: Option<u64>,
pub max_total_cost_units: Option<u64>,
pub invocation_count_after: u32,
pub total_cost_exposed_after: u64,
pub total_cost_realized_spend_after: u64,
pub authority: Option<BudgetEventAuthority>,
}Fields§
§event_id: String§hold_id: Option<String>§capability_id: String§grant_index: u32§kind: BudgetMutationKind§allowed: Option<bool>§recorded_at: i64§event_seq: u64§usage_seq: Option<u64>§exposure_units: u64§realized_spend_units: u64§max_invocations: Option<u32>§max_cost_per_invocation: Option<u64>§max_total_cost_units: Option<u64>§invocation_count_after: u32§total_cost_exposed_after: u64§total_cost_realized_spend_after: u64Trait Implementations§
Source§impl Clone for BudgetMutationRecord
impl Clone for BudgetMutationRecord
Source§fn clone(&self) -> BudgetMutationRecord
fn clone(&self) -> BudgetMutationRecord
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 BudgetMutationRecord
impl Debug for BudgetMutationRecord
Source§impl PartialEq for BudgetMutationRecord
impl PartialEq for BudgetMutationRecord
impl Eq for BudgetMutationRecord
impl StructuralPartialEq for BudgetMutationRecord
Auto Trait Implementations§
impl Freeze for BudgetMutationRecord
impl RefUnwindSafe for BudgetMutationRecord
impl Send for BudgetMutationRecord
impl Sync for BudgetMutationRecord
impl Unpin for BudgetMutationRecord
impl UnsafeUnpin for BudgetMutationRecord
impl UnwindSafe for BudgetMutationRecord
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.