pub struct ScriptContext {
pub script_sig: ByteString,
pub script_pubkey: ByteString,
pub witness: Option<ByteString>,
pub flags: u32,
}Expand description
Script execution context
Fields§
§script_sig: ByteString§script_pubkey: ByteString§witness: Option<ByteString>§flags: u32Trait Implementations§
Source§impl Clone for ScriptContext
impl Clone for ScriptContext
Source§fn clone(&self) -> ScriptContext
fn clone(&self) -> ScriptContext
Returns a duplicate of the value. Read more
1.0.0 · 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 ScriptContext
impl RefUnwindSafe for ScriptContext
impl Send for ScriptContext
impl Sync for ScriptContext
impl Unpin for ScriptContext
impl UnsafeUnpin for ScriptContext
impl UnwindSafe for ScriptContext
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