pub enum BudgetLimit {
Input,
Output,
Total,
}Expand description
Which ceiling a round crossed.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BudgetLimit
impl Clone for BudgetLimit
Source§fn clone(&self) -> BudgetLimit
fn clone(&self) -> BudgetLimit
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 moreimpl Copy for BudgetLimit
Source§impl Debug for BudgetLimit
impl Debug for BudgetLimit
impl Eq for BudgetLimit
Source§impl PartialEq for BudgetLimit
impl PartialEq for BudgetLimit
Source§fn eq(&self, other: &BudgetLimit) -> bool
fn eq(&self, other: &BudgetLimit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BudgetLimit
Auto Trait Implementations§
impl Freeze for BudgetLimit
impl RefUnwindSafe for BudgetLimit
impl Send for BudgetLimit
impl Sync for BudgetLimit
impl Unpin for BudgetLimit
impl UnsafeUnpin for BudgetLimit
impl UnwindSafe for BudgetLimit
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