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 IDoutput script typeoutput 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 for FTransaction
impl PartialEq for FTransaction
Source§impl Serialize for FTransaction
impl Serialize for FTransaction
impl Eq for FTransaction
impl StructuralPartialEq for FTransaction
Auto Trait Implementations§
impl Freeze for FTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more