Struct bitbox_api::btc::PrevTxOutput
source · pub struct PrevTxOutput {
pub value: u64,
pub pubkey_script: Vec<u8>,
}
Fields§
§value: u64
§pubkey_script: Vec<u8>
Trait Implementations§
source§impl Clone for PrevTxOutput
impl Clone for PrevTxOutput
source§fn clone(&self) -> PrevTxOutput
fn clone(&self) -> PrevTxOutput
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 Debug for PrevTxOutput
impl Debug for PrevTxOutput
source§impl From<&TxOut> for PrevTxOutput
impl From<&TxOut> for PrevTxOutput
source§impl PartialEq for PrevTxOutput
impl PartialEq for PrevTxOutput
source§fn eq(&self, other: &PrevTxOutput) -> bool
fn eq(&self, other: &PrevTxOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PrevTxOutput
Auto Trait Implementations§
impl RefUnwindSafe for PrevTxOutput
impl Send for PrevTxOutput
impl Sync for PrevTxOutput
impl Unpin for PrevTxOutput
impl UnwindSafe for PrevTxOutput
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