pub struct Bip341 {
pub merkle_root_hash: Vec<u8>,
}Expand description
§Bip341 variant of Schnorr Aux.
Fields§
§merkle_root_hash: Vec<u8>Merkle tree root hash.
Trait Implementations§
Source§impl CandidType for Bip341
impl CandidType for Bip341
Source§impl<'de> Deserialize<'de> for Bip341
impl<'de> Deserialize<'de> for Bip341
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bip341, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bip341, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Bip341
Source§impl Ord for Bip341
impl Ord for Bip341
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 PartialOrd for Bip341
impl PartialOrd for Bip341
Source§impl Serialize for Bip341
impl Serialize for Bip341
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
impl StructuralPartialEq for Bip341
Auto Trait Implementations§
impl Freeze for Bip341
impl RefUnwindSafe for Bip341
impl Send for Bip341
impl Sync for Bip341
impl Unpin for Bip341
impl UnsafeUnpin for Bip341
impl UnwindSafe for Bip341
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