Struct in3::btc::types::Transaction [−][src]
The transaction type.
Fields
in_active_chain: bool
True if transaction is part of the active chain
data: Bytes
Serialized transaction data
txid: Hash
Transaction id
hash: Hash
Transaction hash
size: u32
Raw size of transaction
vsize: u32
Virtual size of transaction
weight: u32
Weight of transaction
version: u32
Used version
locktime: u32
Locktime
vin: Vec<TransactionInput>
Vector of TransactionInput
objects
vout: Vec<TransactionOutput>
Vector of TransactionOutput
objects
blockhash: Hash
Hash of block containing the transaction
confirmations: u32
Number of confirmations or blocks mined on top of the containing block
time: u32
Unix timestamp in seconds since 1970
blocktime: u32
Unix timestamp in seconds since 1970
Trait Implementations
impl Debug for Transaction
[src]
impl From<*const btc_transaction> for Transaction
[src]
fn from(c_tx: *const btc_transaction) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,