pub struct AnchorOutput {
pub script_pubkey: ScriptBuf,
pub value_sats: u64,
}Expand description
Optional CPFP anchor output for fee bumping, per ord.net specification.
Fields§
§script_pubkey: ScriptBufScript receiving the anchor output (buyer-controlled for CPFP spending).
value_sats: u64Anchor output value in sats (typically dust limit, e.g. 330 sats).
Trait Implementations§
Source§impl Clone for AnchorOutput
impl Clone for AnchorOutput
Source§fn clone(&self) -> AnchorOutput
fn clone(&self) -> AnchorOutput
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 moreSource§impl Debug for AnchorOutput
impl Debug for AnchorOutput
impl Eq for AnchorOutput
Source§impl PartialEq for AnchorOutput
impl PartialEq for AnchorOutput
Source§fn eq(&self, other: &AnchorOutput) -> bool
fn eq(&self, other: &AnchorOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnchorOutput
Auto Trait Implementations§
impl Freeze for AnchorOutput
impl RefUnwindSafe for AnchorOutput
impl Send for AnchorOutput
impl Sync for AnchorOutput
impl Unpin for AnchorOutput
impl UnsafeUnpin for AnchorOutput
impl UnwindSafe for AnchorOutput
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