pub struct ReplayAccounting {
pub actions_so_far: u64,
pub input_bytes_so_far: u64,
}Expand description
Replay accounting snapshot used for quota decisions.
Fields§
§actions_so_far: u64Actions attempted so far.
input_bytes_so_far: u64Input bytes processed so far.
Trait Implementations§
Source§impl Clone for ReplayAccounting
impl Clone for ReplayAccounting
Source§fn clone(&self) -> ReplayAccounting
fn clone(&self) -> ReplayAccounting
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 ReplayAccounting
impl Debug for ReplayAccounting
Source§impl Default for ReplayAccounting
impl Default for ReplayAccounting
Source§fn default() -> ReplayAccounting
fn default() -> ReplayAccounting
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplayAccounting
impl PartialEq for ReplayAccounting
impl Copy for ReplayAccounting
impl Eq for ReplayAccounting
impl StructuralPartialEq for ReplayAccounting
Auto Trait Implementations§
impl Freeze for ReplayAccounting
impl RefUnwindSafe for ReplayAccounting
impl Send for ReplayAccounting
impl Sync for ReplayAccounting
impl Unpin for ReplayAccounting
impl UnwindSafe for ReplayAccounting
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