Struct jormungandr_lib::interfaces::BlockContentMaxSize
source · pub struct BlockContentMaxSize(BlockContentSize);
Expand description
the block content max size
Tuple Fields§
§0: BlockContentSize
Trait Implementations§
source§impl Clone for BlockContentMaxSize
impl Clone for BlockContentMaxSize
source§fn clone(&self) -> BlockContentMaxSize
fn clone(&self) -> BlockContentMaxSize
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 BlockContentMaxSize
impl Debug for BlockContentMaxSize
source§impl Default for BlockContentMaxSize
impl Default for BlockContentMaxSize
source§impl<'de> Deserialize<'de> for BlockContentMaxSize
impl<'de> Deserialize<'de> for BlockContentMaxSize
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 BlockContentMaxSize
impl Display for BlockContentMaxSize
source§impl From<BlockContentMaxSize> for BlockContentSize
impl From<BlockContentMaxSize> for BlockContentSize
source§fn from(v: BlockContentMaxSize) -> Self
fn from(v: BlockContentMaxSize) -> Self
Converts to this type from the input type.
source§impl From<u32> for BlockContentMaxSize
impl From<u32> for BlockContentMaxSize
source§impl Hash for BlockContentMaxSize
impl Hash for BlockContentMaxSize
source§impl Ord for BlockContentMaxSize
impl Ord for BlockContentMaxSize
source§fn cmp(&self, other: &BlockContentMaxSize) -> Ordering
fn cmp(&self, other: &BlockContentMaxSize) -> Ordering
1.21.0 · 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
source§impl PartialEq<BlockContentMaxSize> for BlockContentMaxSize
impl PartialEq<BlockContentMaxSize> for BlockContentMaxSize
source§fn eq(&self, other: &BlockContentMaxSize) -> bool
fn eq(&self, other: &BlockContentMaxSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BlockContentMaxSize> for BlockContentMaxSize
impl PartialOrd<BlockContentMaxSize> for BlockContentMaxSize
source§fn partial_cmp(&self, other: &BlockContentMaxSize) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockContentMaxSize) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BlockContentMaxSize
impl Serialize for BlockContentMaxSize
impl Copy for BlockContentMaxSize
impl Eq for BlockContentMaxSize
impl StructuralEq for BlockContentMaxSize
impl StructuralPartialEq for BlockContentMaxSize
Auto Trait Implementations§
impl RefUnwindSafe for BlockContentMaxSize
impl Send for BlockContentMaxSize
impl Sync for BlockContentMaxSize
impl Unpin for BlockContentMaxSize
impl UnwindSafe for BlockContentMaxSize
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