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 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 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
Source§impl From<BytesAmount> for u32
impl From<BytesAmount> for u32
Source§fn from(original: BytesAmount) -> Self
fn from(original: BytesAmount) -> Self
Converts to this type from the input type.
Source§impl From<u32> for BytesAmount
impl From<u32> for BytesAmount
Source§fn from(original: u32) -> BytesAmount
fn from(original: u32) -> BytesAmount
Converts to this type from the input type.
Source§impl PartialEq for BytesAmount
impl PartialEq for BytesAmount
impl Copy for BytesAmount
impl Eq for BytesAmount
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 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