pub struct L1InfoRoot(/* private fields */);Implementations§
Source§impl L1InfoRoot
impl L1InfoRoot
pub const fn new(digest: Digest) -> L1InfoRoot
Trait Implementations§
Source§impl AsRef<[u8]> for L1InfoRoot
impl AsRef<[u8]> for L1InfoRoot
Source§impl AsRef<Digest> for L1InfoRoot
impl AsRef<Digest> for L1InfoRoot
Source§impl Clone for L1InfoRoot
impl Clone for L1InfoRoot
Source§fn clone(&self) -> L1InfoRoot
fn clone(&self) -> L1InfoRoot
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 moreSource§impl Debug for L1InfoRoot
impl Debug for L1InfoRoot
Source§impl Default for L1InfoRoot
impl Default for L1InfoRoot
Source§fn default() -> L1InfoRoot
fn default() -> L1InfoRoot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for L1InfoRoot
impl<'de> Deserialize<'de> for L1InfoRoot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<L1InfoRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<L1InfoRoot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for L1InfoRoot
impl Display for L1InfoRoot
Source§impl From<Digest> for L1InfoRoot
impl From<Digest> for L1InfoRoot
Source§fn from(digest: Digest) -> L1InfoRoot
fn from(digest: Digest) -> L1InfoRoot
Converts to this type from the input type.
Source§impl From<FixedBytes<32>> for L1InfoRoot
impl From<FixedBytes<32>> for L1InfoRoot
Source§fn from(value: FixedBytes<32>) -> L1InfoRoot
fn from(value: FixedBytes<32>) -> L1InfoRoot
Converts to this type from the input type.
Source§impl From<L1InfoRoot> for Digest
impl From<L1InfoRoot> for Digest
Source§fn from(it: L1InfoRoot) -> Digest
fn from(it: L1InfoRoot) -> Digest
Converts to this type from the input type.
Source§impl From<L1InfoRoot> for FixedBytes<32>
impl From<L1InfoRoot> for FixedBytes<32>
Source§fn from(value: L1InfoRoot) -> FixedBytes<32>
fn from(value: L1InfoRoot) -> FixedBytes<32>
Converts to this type from the input type.
Source§impl LowerHex for L1InfoRoot
impl LowerHex for L1InfoRoot
Source§impl Ord for L1InfoRoot
impl Ord for L1InfoRoot
Source§fn cmp(&self, other: &L1InfoRoot) -> Ordering
fn cmp(&self, other: &L1InfoRoot) -> Ordering
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
Source§impl PartialEq for L1InfoRoot
impl PartialEq for L1InfoRoot
Source§fn eq(&self, other: &L1InfoRoot) -> bool
fn eq(&self, other: &L1InfoRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for L1InfoRoot
impl PartialOrd for L1InfoRoot
Source§impl Serialize for L1InfoRoot
impl Serialize for L1InfoRoot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&[u8]> for L1InfoRoot
impl TryFrom<&[u8]> for L1InfoRoot
Source§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &[u8],
) -> Result<L1InfoRoot, <L1InfoRoot as TryFrom<&[u8]>>::Error>
fn try_from( value: &[u8], ) -> Result<L1InfoRoot, <L1InfoRoot as TryFrom<&[u8]>>::Error>
Performs the conversion.
Source§impl UpperHex for L1InfoRoot
impl UpperHex for L1InfoRoot
impl Copy for L1InfoRoot
impl Eq for L1InfoRoot
impl StructuralPartialEq for L1InfoRoot
Auto Trait Implementations§
impl Freeze for L1InfoRoot
impl RefUnwindSafe for L1InfoRoot
impl Send for L1InfoRoot
impl Sync for L1InfoRoot
impl Unpin for L1InfoRoot
impl UnsafeUnpin for L1InfoRoot
impl UnwindSafe for L1InfoRoot
Blanket Implementations§
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
👎Deprecated:
use ToHexExt instead
Encode the hex strict representing
self into the result.
Lower case letters are used (e.g. f9b4ca).Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
👎Deprecated:
use ToHexExt instead
Encode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)Source§impl<T> ToHexExt for T
impl<T> ToHexExt for T
Source§fn encode_hex(&self) -> String
fn encode_hex(&self) -> String
Encode the hex strict representing
self into the result.
Lower case letters are used (e.g. f9b4ca).Source§fn encode_hex_upper(&self) -> String
fn encode_hex_upper(&self) -> String
Encode the hex strict representing
self into the result.
Upper case letters are used (e.g. F9B4CA).Source§fn encode_hex_with_prefix(&self) -> String
fn encode_hex_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0x.
Lower case letters are used (e.g. 0xf9b4ca).Source§fn encode_hex_upper_with_prefix(&self) -> String
fn encode_hex_upper_with_prefix(&self) -> String
Encode the hex strict representing
self into the result with prefix 0X.
Upper case letters are used (e.g. 0xF9B4CA).