Struct primitives::account::StoragePoints
source · pub struct StoragePoints {
pub unused: U256,
pub used: U256,
}
Fields§
§unused: U256
§used: U256
Trait Implementations§
source§impl Clone for StoragePoints
impl Clone for StoragePoints
source§fn clone(&self) -> StoragePoints
fn clone(&self) -> StoragePoints
Returns a copy 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 StoragePoints
impl Debug for StoragePoints
source§impl Decodable for StoragePoints
impl Decodable for StoragePoints
source§impl Default for StoragePoints
impl Default for StoragePoints
source§fn default() -> StoragePoints
fn default() -> StoragePoints
Returns the “default value” for a type. Read more
source§impl Encodable for StoragePoints
impl Encodable for StoragePoints
source§impl Ord for StoragePoints
impl Ord for StoragePoints
source§fn cmp(&self, other: &StoragePoints) -> Ordering
fn cmp(&self, other: &StoragePoints) -> Ordering
1.21.0 · 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 StoragePoints
impl PartialEq for StoragePoints
source§fn eq(&self, other: &StoragePoints) -> bool
fn eq(&self, other: &StoragePoints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StoragePoints
impl PartialOrd for StoragePoints
source§fn partial_cmp(&self, other: &StoragePoints) -> Option<Ordering>
fn partial_cmp(&self, other: &StoragePoints) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for StoragePoints
impl StructuralPartialEq for StoragePoints
Auto Trait Implementations§
impl RefUnwindSafe for StoragePoints
impl Send for StoragePoints
impl Sync for StoragePoints
impl Unpin for StoragePoints
impl UnwindSafe for StoragePoints
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