pub struct SortableOutput {
pub index: usize,
pub amount: u64,
pub script_pubkey: Vec<u8>,
pub is_change: bool,
}Expand description
A composed output (for sorting purposes).
Fields§
§index: usizeOriginal index in the output array
amount: u64Amount in satoshis
script_pubkey: Vec<u8>Raw scriptPubKey bytes for BIP69 comparison
is_change: boolWhether this is a change output (used by random sorting)
Trait Implementations§
Source§impl Clone for SortableOutput
impl Clone for SortableOutput
Source§fn clone(&self) -> SortableOutput
fn clone(&self) -> SortableOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SortableOutput
impl RefUnwindSafe for SortableOutput
impl Send for SortableOutput
impl Sync for SortableOutput
impl Unpin for SortableOutput
impl UnsafeUnpin for SortableOutput
impl UnwindSafe for SortableOutput
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