Struct sewup::types::Raw [−][src]
pub struct Raw { /* fields omitted */ }
Expand description
The storage unit in the contract of Ethereum, which contains 32 bytes
The structure is easiler to try_from Row
; from Address
, bytes, unsigned integers;
or into bytes32
, bytes20
, etc.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Creates a value from an iterator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Raw
impl UnwindSafe for Raw
Blanket Implementations
Calculate the base32 serialized length
Mutably borrows from an owned value. Read more
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more