pub struct BytesAmount(/* private fields */);Expand description
Bytes amount.
Trait Implementations§
Source§impl Clone for BytesAmount
impl Clone for BytesAmount
Source§fn clone(&self) -> BytesAmount
fn clone(&self) -> BytesAmount
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 BytesAmount
Source§impl Debug for BytesAmount
impl Debug for BytesAmount
Source§impl Default for BytesAmount
impl Default for BytesAmount
Source§fn default() -> BytesAmount
fn default() -> BytesAmount
Returns the “default value” for a type. Read more
impl Eq for BytesAmount
Source§impl From<BytesAmount> for u32
impl From<BytesAmount> for u32
Source§fn from(value: BytesAmount) -> Self
fn from(value: BytesAmount) -> Self
Converts to this type from the input type.
Source§impl From<u32> for BytesAmount
impl From<u32> for BytesAmount
Source§impl PartialEq for BytesAmount
impl PartialEq for BytesAmount
Source§fn eq(&self, other: &BytesAmount) -> bool
fn eq(&self, other: &BytesAmount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BytesAmount
Auto Trait Implementations§
impl Freeze for BytesAmount
impl RefUnwindSafe for BytesAmount
impl Send for BytesAmount
impl Sync for BytesAmount
impl Unpin for BytesAmount
impl UnsafeUnpin for BytesAmount
impl UnwindSafe for BytesAmount
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