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