pub struct AvailableTokens(pub u64);Expand description
Tokens currently sitting in the bucket, available to grant.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for AvailableTokens
impl Clone for AvailableTokens
Source§fn clone(&self) -> AvailableTokens
fn clone(&self) -> AvailableTokens
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 AvailableTokens
Source§impl Debug for AvailableTokens
impl Debug for AvailableTokens
Source§impl Display for AvailableTokens
impl Display for AvailableTokens
impl Eq for AvailableTokens
Source§impl From<AvailableTokens> for u64
impl From<AvailableTokens> for u64
Source§fn from(value: AvailableTokens) -> Self
fn from(value: AvailableTokens) -> Self
Converts to this type from the input type.
Source§impl From<u64> for AvailableTokens
impl From<u64> for AvailableTokens
Source§impl Hash for AvailableTokens
impl Hash for AvailableTokens
Source§impl Ord for AvailableTokens
impl Ord for AvailableTokens
Source§fn cmp(&self, other: &AvailableTokens) -> Ordering
fn cmp(&self, other: &AvailableTokens) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AvailableTokens
impl PartialEq for AvailableTokens
Source§impl PartialOrd for AvailableTokens
impl PartialOrd for AvailableTokens
impl StructuralPartialEq for AvailableTokens
Auto Trait Implementations§
impl Freeze for AvailableTokens
impl RefUnwindSafe for AvailableTokens
impl Send for AvailableTokens
impl Sync for AvailableTokens
impl Unpin for AvailableTokens
impl UnsafeUnpin for AvailableTokens
impl UnwindSafe for AvailableTokens
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