Struct concordium_base::transactions::PayloadSize
source · pub struct PayloadSize { /* private fields */ }
Expand description
Type safe wrapper to record the size of the transaction payload.
Trait Implementations§
source§impl Clone for PayloadSize
impl Clone for PayloadSize
source§fn clone(&self) -> PayloadSize
fn clone(&self) -> PayloadSize
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 PayloadSize
impl Debug for PayloadSize
source§impl Deserial for PayloadSize
impl Deserial for PayloadSize
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for PayloadSize
impl<'de> Deserialize<'de> for PayloadSize
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PayloadSize
impl Display for PayloadSize
source§impl From<PayloadSize> for u32
impl From<PayloadSize> for u32
source§fn from(original: PayloadSize) -> Self
fn from(original: PayloadSize) -> Self
Converts to this type from the input type.
source§impl From<u32> for PayloadSize
impl From<u32> for PayloadSize
source§fn from(original: u32) -> PayloadSize
fn from(original: u32) -> PayloadSize
Converts to this type from the input type.
source§impl PartialEq<PayloadSize> for PayloadSize
impl PartialEq<PayloadSize> for PayloadSize
source§fn eq(&self, other: &PayloadSize) -> bool
fn eq(&self, other: &PayloadSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serial for PayloadSize
impl Serial for PayloadSize
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
source§impl Serialize for PayloadSize
impl Serialize for PayloadSize
impl Copy for PayloadSize
impl Eq for PayloadSize
impl StructuralEq for PayloadSize
impl StructuralPartialEq for PayloadSize
Auto Trait Implementations§
impl RefUnwindSafe for PayloadSize
impl Send for PayloadSize
impl Sync for PayloadSize
impl Unpin for PayloadSize
impl UnwindSafe for PayloadSize
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