pub struct BlockMerkleRoot(/* private fields */);
Trait Implementations§
Source§impl Borrow<[u8]> for BlockMerkleRoot
impl Borrow<[u8]> for BlockMerkleRoot
Source§impl Clone for BlockMerkleRoot
impl Clone for BlockMerkleRoot
Source§fn clone(&self) -> BlockMerkleRoot
fn clone(&self) -> BlockMerkleRoot
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 ConsensusDecode for BlockMerkleRoot
impl ConsensusDecode for BlockMerkleRoot
fn consensus_decode( reader: &mut impl Read, ) -> Result<BlockMerkleRoot, ConsensusDecodeError>
fn consensus_deserialize( bytes: impl AsRef<[u8]>, ) -> Result<Self, ConsensusDecodeError>
Source§impl ConsensusEncode for BlockMerkleRoot
impl ConsensusEncode for BlockMerkleRoot
Source§impl Debug for BlockMerkleRoot
impl Debug for BlockMerkleRoot
Source§impl Display for BlockMerkleRoot
impl Display for BlockMerkleRoot
Source§impl FromHex for BlockMerkleRoot
impl FromHex for BlockMerkleRoot
Source§fn from_byte_iter<I>(iter: I) -> Result<BlockMerkleRoot, Error>
fn from_byte_iter<I>(iter: I) -> Result<BlockMerkleRoot, Error>
Produce an object from a byte iterator
Source§impl FromStr for BlockMerkleRoot
impl FromStr for BlockMerkleRoot
Source§impl Hash for BlockMerkleRoot
impl Hash for BlockMerkleRoot
Source§impl Index<RangeFull> for BlockMerkleRoot
impl Index<RangeFull> for BlockMerkleRoot
Source§impl Index<RangeInclusive<usize>> for BlockMerkleRoot
impl Index<RangeInclusive<usize>> for BlockMerkleRoot
Source§type Output = <Array<u8, 32, true> as Index<RangeInclusive<usize>>>::Output
type Output = <Array<u8, 32, true> as Index<RangeInclusive<usize>>>::Output
The returned type after indexing.
Source§fn index(
&self,
index: RangeInclusive<usize>,
) -> &<BlockMerkleRoot as Index<RangeInclusive<usize>>>::Output
fn index( &self, index: RangeInclusive<usize>, ) -> &<BlockMerkleRoot as Index<RangeInclusive<usize>>>::Output
Performs the indexing (
container[index]
) operation. Read moreSource§impl Index<RangeToInclusive<usize>> for BlockMerkleRoot
impl Index<RangeToInclusive<usize>> for BlockMerkleRoot
Source§type Output = <Array<u8, 32, true> as Index<RangeInclusive<usize>>>::Output
type Output = <Array<u8, 32, true> as Index<RangeInclusive<usize>>>::Output
The returned type after indexing.
Source§fn index(
&self,
index: RangeToInclusive<usize>,
) -> &<BlockMerkleRoot as Index<RangeToInclusive<usize>>>::Output
fn index( &self, index: RangeToInclusive<usize>, ) -> &<BlockMerkleRoot as Index<RangeToInclusive<usize>>>::Output
Performs the indexing (
container[index]
) operation. Read moreSource§impl Index<usize> for BlockMerkleRoot
impl Index<usize> for BlockMerkleRoot
Source§impl LowerHex for BlockMerkleRoot
impl LowerHex for BlockMerkleRoot
Source§impl Ord for BlockMerkleRoot
impl Ord for BlockMerkleRoot
Source§fn cmp(&self, other: &BlockMerkleRoot) -> Ordering
fn cmp(&self, other: &BlockMerkleRoot) -> 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 for BlockMerkleRoot
impl PartialEq for BlockMerkleRoot
Source§impl PartialOrd for BlockMerkleRoot
impl PartialOrd for BlockMerkleRoot
Source§impl StrictDecode for BlockMerkleRoot
impl StrictDecode for BlockMerkleRoot
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<BlockMerkleRoot, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for BlockMerkleRoot
impl StrictDumb for BlockMerkleRoot
fn strict_dumb() -> BlockMerkleRoot
Source§impl StrictEncode for BlockMerkleRoot
impl StrictEncode for BlockMerkleRoot
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictTuple for BlockMerkleRoot
impl StrictTuple for BlockMerkleRoot
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for BlockMerkleRoot
impl StrictType for BlockMerkleRoot
const STRICT_LIB_NAME: &'static str = LIB_NAME_BITCOIN
fn strict_name() -> Option<TypeName>
Source§impl UpperHex for BlockMerkleRoot
impl UpperHex for BlockMerkleRoot
Source§impl Wrapper for BlockMerkleRoot
impl Wrapper for BlockMerkleRoot
Source§fn from_inner(inner: <BlockMerkleRoot as Wrapper>::Inner) -> BlockMerkleRoot
fn from_inner(inner: <BlockMerkleRoot as Wrapper>::Inner) -> BlockMerkleRoot
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &<BlockMerkleRoot as Wrapper>::Inner
fn as_inner(&self) -> &<BlockMerkleRoot as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> <BlockMerkleRoot as Wrapper>::Inner
fn into_inner(self) -> <BlockMerkleRoot as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Copy for BlockMerkleRoot
impl Eq for BlockMerkleRoot
impl StrictProduct for BlockMerkleRoot
impl StructuralPartialEq for BlockMerkleRoot
Auto Trait Implementations§
impl Freeze for BlockMerkleRoot
impl RefUnwindSafe for BlockMerkleRoot
impl Send for BlockMerkleRoot
impl Sync for BlockMerkleRoot
impl Unpin for BlockMerkleRoot
impl UnwindSafe for BlockMerkleRoot
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
Source§impl<Id, const LEN: usize, const REVERSE_STR: bool> ByteArray<LEN> for Id
impl<Id, const LEN: usize, const REVERSE_STR: bool> ByteArray<LEN> for Id
Source§fn from_byte_array(val: impl Into<[u8; LEN]>) -> Id
fn from_byte_array(val: impl Into<[u8; LEN]>) -> Id
Constructs a wrapper type around a byte array.
Source§fn from_slice(slice: impl AsRef<[u8]>) -> Result<Id, FromSliceError>
fn from_slice(slice: impl AsRef<[u8]>) -> Result<Id, FromSliceError>
Constructs a byte array from the slice. Errors if the slice length
doesn’t match
LEN
constant generic.Source§fn from_slice_unsafe(slice: impl AsRef<[u8]>) -> Id
fn from_slice_unsafe(slice: impl AsRef<[u8]>) -> Id
Constructs a byte array from the slice. Expects the slice length
doesn’t match
LEN
constant generic. Read moreSource§fn to_byte_array(&self) -> [u8; LEN]
fn to_byte_array(&self) -> [u8; LEN]
Returns a byte array representation stored in the wrapped type.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.