pub struct TxInWitness {
pub amount_rangeproof: Option<Box<RangeProof>>,
pub inflation_keys_rangeproof: Option<Box<RangeProof>>,
pub script_witness: Vec<Vec<u8>>,
pub pegin_witness: Vec<Vec<u8>>,
}Expand description
Transaction input witness
Fields§
§amount_rangeproof: Option<Box<RangeProof>>Amount rangeproof
inflation_keys_rangeproof: Option<Box<RangeProof>>Rangeproof for inflation keys
script_witness: Vec<Vec<u8>>Traditional script witness
pegin_witness: Vec<Vec<u8>>Pegin witness, basically the same thing
Implementations§
Trait Implementations§
Source§impl Clone for TxInWitness
impl Clone for TxInWitness
Source§fn clone(&self) -> TxInWitness
fn clone(&self) -> TxInWitness
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 moreSource§impl Debug for TxInWitness
impl Debug for TxInWitness
Source§impl Decodable for TxInWitness
impl Decodable for TxInWitness
Source§fn consensus_decode<D: Read>(d: D) -> Result<TxInWitness, Error>
fn consensus_decode<D: Read>(d: D) -> Result<TxInWitness, Error>
Decode an object with a well-defined format
Source§impl Default for TxInWitness
impl Default for TxInWitness
Source§impl Encodable for TxInWitness
impl Encodable for TxInWitness
Source§impl Hash for TxInWitness
impl Hash for TxInWitness
Source§impl Ord for TxInWitness
impl Ord for TxInWitness
Source§fn cmp(&self, other: &TxInWitness) -> Ordering
fn cmp(&self, other: &TxInWitness) -> 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 TxInWitness
impl PartialEq for TxInWitness
Source§impl PartialOrd for TxInWitness
impl PartialOrd for TxInWitness
impl Eq for TxInWitness
impl StructuralPartialEq for TxInWitness
Auto Trait Implementations§
impl Freeze for TxInWitness
impl RefUnwindSafe for TxInWitness
impl Send for TxInWitness
impl Sync for TxInWitness
impl Unpin for TxInWitness
impl UnwindSafe for TxInWitness
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