pub struct TransactionUnspentOutput { /* private fields */ }
Implementations
sourceimpl TransactionUnspentOutput
impl TransactionUnspentOutput
pub fn from_bytes(
bytes: Vec<u8>
) -> Result<TransactionUnspentOutput, DeserializeError>
sourceimpl TransactionUnspentOutput
impl TransactionUnspentOutput
pub fn from_hex(
hex_str: &str
) -> Result<TransactionUnspentOutput, DeserializeError>
sourceimpl TransactionUnspentOutput
impl TransactionUnspentOutput
pub fn new(
input: &TransactionInput,
output: &TransactionOutput
) -> TransactionUnspentOutput
pub fn input(&self) -> TransactionInput
pub fn output(&self) -> TransactionOutput
Trait Implementations
sourceimpl Clone for TransactionUnspentOutput
impl Clone for TransactionUnspentOutput
sourcefn clone(&self) -> TransactionUnspentOutput
fn clone(&self) -> TransactionUnspentOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TransactionUnspentOutput
impl Debug for TransactionUnspentOutput
sourceimpl Deserialize for TransactionUnspentOutput
impl Deserialize for TransactionUnspentOutput
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
sourceimpl Serialize for TransactionUnspentOutput
impl Serialize for TransactionUnspentOutput
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
Auto Trait Implementations
impl RefUnwindSafe for TransactionUnspentOutput
impl Send for TransactionUnspentOutput
impl Sync for TransactionUnspentOutput
impl Unpin for TransactionUnspentOutput
impl UnwindSafe for TransactionUnspentOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more