Struct elements::TxInWitness [−][src]
pub struct TxInWitness { pub amount_rangeproof: Vec<u8>, pub inflation_keys_rangeproof: Vec<u8>, pub script_witness: Vec<Vec<u8>>, pub pegin_witness: Vec<Vec<u8>>, }
Transaction input witness
Fields
amount_rangeproof: Vec<u8>
Amount rangeproof
inflation_keys_rangeproof: Vec<u8>
Rangeproof for inflation keys
script_witness: Vec<Vec<u8>>
Traditional script witness
pegin_witness: Vec<Vec<u8>>
Pegin witness, basically the same thing
Methods
impl TxInWitness
[src]
impl TxInWitness
Trait Implementations
impl Clone for TxInWitness
[src]
impl Clone for TxInWitness
fn clone(&self) -> TxInWitness
[src]
fn clone(&self) -> TxInWitness
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for TxInWitness
[src]
impl Default for TxInWitness
fn default() -> TxInWitness
[src]
fn default() -> TxInWitness
Returns the "default value" for a type. Read more
impl PartialEq for TxInWitness
[src]
impl PartialEq for TxInWitness
fn eq(&self, other: &TxInWitness) -> bool
[src]
fn eq(&self, other: &TxInWitness) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TxInWitness) -> bool
[src]
fn ne(&self, other: &TxInWitness) -> bool
This method tests for !=
.
impl Eq for TxInWitness
[src]
impl Eq for TxInWitness
impl Debug for TxInWitness
[src]
impl Debug for TxInWitness
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for TxInWitness
[src]
impl Hash for TxInWitness
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<S: SimpleEncoder> ConsensusEncodable<S> for TxInWitness
[src]
impl<S: SimpleEncoder> ConsensusEncodable<S> for TxInWitness
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
[src]
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
Encode an object with a well-defined format
impl<D: SimpleDecoder> ConsensusDecodable<D> for TxInWitness
[src]
impl<D: SimpleDecoder> ConsensusDecodable<D> for TxInWitness
fn consensus_decode(d: &mut D) -> Result<TxInWitness, Error>
[src]
fn consensus_decode(d: &mut D) -> Result<TxInWitness, Error>
Decode an object with a well-defined format
Auto Trait Implementations
impl Send for TxInWitness
impl Send for TxInWitness
impl Sync for TxInWitness
impl Sync for TxInWitness