pub struct TransactionUnspentOutput { /* private fields */ }
Implementations§
source§impl TransactionUnspentOutput
impl TransactionUnspentOutput
pub fn from_bytes(
bytes: Vec<u8>
) -> Result<TransactionUnspentOutput, DeserializeError>
source§impl TransactionUnspentOutput
impl TransactionUnspentOutput
pub fn new(
input: &TransactionInput,
output: &TransactionOutput
) -> TransactionUnspentOutput
pub fn input(&self) -> TransactionInput
pub fn output(&self) -> TransactionOutput
Trait Implementations§
source§impl Clone for TransactionUnspentOutput
impl Clone for TransactionUnspentOutput
source§fn clone(&self) -> TransactionUnspentOutput
fn clone(&self) -> TransactionUnspentOutput
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 more