Struct Currentamount
#[repr(transparent)]pub struct Currentamount(pub u32);Expand description
Description cluster: Number of bytes transferred in the current transaction.
Tuple Fields§
§0: u32Implementations§
§impl Currentamount
impl Currentamount
pub const fn amount(&self) -> u16
pub const fn amount(&self) -> u16
Number of bytes transferred in the current transaction. Continuously updated.
pub const fn set_amount(&mut self, val: u16)
pub const fn set_amount(&mut self, val: u16)
Number of bytes transferred in the current transaction. Continuously updated.
Trait Implementations§
§impl Clone for Currentamount
impl Clone for Currentamount
§fn clone(&self) -> Currentamount
fn clone(&self) -> Currentamount
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 Currentamount
§impl Debug for Currentamount
impl Debug for Currentamount
§impl Default for Currentamount
impl Default for Currentamount
§fn default() -> Currentamount
fn default() -> Currentamount
Returns the “default value” for a type. Read more
impl Eq for Currentamount
§impl PartialEq for Currentamount
impl PartialEq for Currentamount
impl StructuralPartialEq for Currentamount
Auto Trait Implementations§
impl Freeze for Currentamount
impl RefUnwindSafe for Currentamount
impl Send for Currentamount
impl Sync for Currentamount
impl Unpin for Currentamount
impl UnsafeUnpin for Currentamount
impl UnwindSafe for Currentamount
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