pub struct TaprootAddress {
pub address: Address,
pub spend_info: TaprootSpendInfo,
pub internal_key: XOnlyPublicKey,
}Expand description
Taproot address with spending info
Fields§
§address: AddressThe Bitcoin address
spend_info: TaprootSpendInfoSpending information
internal_key: XOnlyPublicKeyInternal key
Trait Implementations§
Source§impl Clone for TaprootAddress
impl Clone for TaprootAddress
Source§fn clone(&self) -> TaprootAddress
fn clone(&self) -> TaprootAddress
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TaprootAddress
impl RefUnwindSafe for TaprootAddress
impl Send for TaprootAddress
impl Sync for TaprootAddress
impl Unpin for TaprootAddress
impl UnwindSafe for TaprootAddress
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