pub struct TxOut<'a>(/* private fields */);Expand description
A TxOut
Implementations§
Source§impl TxOut<'_>
impl TxOut<'_>
Sourcepub fn script_pubkey(&self) -> ScriptPubkey<'_>
pub fn script_pubkey(&self) -> ScriptPubkey<'_>
Extract the script pubkey from the TxOut
Trait Implementations§
Source§impl<'a> Ord for TxOut<'a>
impl<'a> Ord for TxOut<'a>
Source§impl<'a> PartialOrd for TxOut<'a>
impl<'a> PartialOrd for TxOut<'a>
impl<'a> Eq for TxOut<'a>
impl<'a> StructuralPartialEq for TxOut<'a>
Auto Trait Implementations§
impl<'a> Freeze for TxOut<'a>
impl<'a> RefUnwindSafe for TxOut<'a>
impl<'a> Send for TxOut<'a>
impl<'a> Sync for TxOut<'a>
impl<'a> Unpin for TxOut<'a>
impl<'a> UnwindSafe for TxOut<'a>
Blanket Implementations§
Source§impl<T, U> AsByteSlice<T> for U
impl<T, U> AsByteSlice<T> for U
fn as_byte_slice(&self) -> &[u8] ⓘ
Source§impl<U> AsSliceOf for U
impl<U> AsSliceOf for U
fn as_slice_of<T>(&self) -> Result<&[T], Error>where
T: FromByteSlice,
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> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)