Struct bitcoin_explorer::parser::proto::full_proto::FTransaction
source · pub struct FTransaction {
pub version: i32,
pub lock_time: u32,
pub txid: Txid,
pub input: Vec<TxIn>,
pub output: Vec<FTxOut>,
}
Expand description
FTransaction
compared to Transaction
has the following
precomputed:
transaction ID
output script type
output addresses
Fields§
§version: i32
§lock_time: u32
§txid: Txid
§input: Vec<TxIn>
List of inputs
output: Vec<FTxOut>
List of outputs
Trait Implementations§
source§impl Clone for FTransaction
impl Clone for FTransaction
source§fn clone(&self) -> FTransaction
fn clone(&self) -> FTransaction
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 FTransaction
impl Debug for FTransaction
source§impl<'de> Deserialize<'de> for FTransaction
impl<'de> Deserialize<'de> for FTransaction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Transaction> for FTransaction
impl From<Transaction> for FTransaction
source§fn from(tx: Transaction) -> FTransaction
fn from(tx: Transaction) -> FTransaction
Converts to this type from the input type.
source§impl PartialEq<FTransaction> for FTransaction
impl PartialEq<FTransaction> for FTransaction
source§fn eq(&self, other: &FTransaction) -> bool
fn eq(&self, other: &FTransaction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FTransaction
impl Serialize for FTransaction
impl Eq for FTransaction
impl StructuralEq for FTransaction
impl StructuralPartialEq for FTransaction
Auto Trait Implementations§
impl RefUnwindSafe for FTransaction
impl Send for FTransaction
impl Sync for FTransaction
impl Unpin for FTransaction
impl UnwindSafe for FTransaction
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