pub struct Spend { /* private fields */ }Expand description
The Spend struct represents a spend action and validates it by executing the unlocking and locking scripts.
Implementations§
Source§impl Spend
impl Spend
Sourcepub fn new(params: SpendParams) -> Self
pub fn new(params: SpendParams) -> Self
Creates a new Spend validator from the given parameters.
Auto Trait Implementations§
impl !Freeze for Spend
impl !RefUnwindSafe for Spend
impl Send for Spend
impl !Sync for Spend
impl Unpin for Spend
impl UnsafeUnpin for Spend
impl UnwindSafe for Spend
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