pub struct TransactionWeight(/* private fields */);Expand description
Serialized transaction weight, in HSD witness weight units.
Implementations§
Trait Implementations§
Source§impl Clone for TransactionWeight
impl Clone for TransactionWeight
impl Copy for TransactionWeight
Source§impl Debug for TransactionWeight
impl Debug for TransactionWeight
Source§impl Default for TransactionWeight
impl Default for TransactionWeight
impl Eq for TransactionWeight
Source§impl From<u32> for TransactionWeight
impl From<u32> for TransactionWeight
Source§impl Hash for TransactionWeight
impl Hash for TransactionWeight
Source§impl Ord for TransactionWeight
impl Ord for TransactionWeight
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TransactionWeight
impl PartialEq for TransactionWeight
Source§impl PartialOrd for TransactionWeight
impl PartialOrd for TransactionWeight
impl StructuralPartialEq for TransactionWeight
Auto Trait Implementations§
impl Freeze for TransactionWeight
impl RefUnwindSafe for TransactionWeight
impl Send for TransactionWeight
impl Sync for TransactionWeight
impl Unpin for TransactionWeight
impl UnsafeUnpin for TransactionWeight
impl UnwindSafe for TransactionWeight
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