pub struct ScriptCode(/* private fields */);Expand description
A representation of scriptPubkey data used during SegWit signing procedure
Trait Implementations§
Source§impl AsMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl AsMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
Source§impl AsRef<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl AsRef<<ScriptCode as Wrapper>::Inner> for ScriptCode
Source§impl Borrow<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl Borrow<<ScriptCode as Wrapper>::Inner> for ScriptCode
Source§impl BorrowMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
impl BorrowMut<<ScriptCode as Wrapper>::Inner> for ScriptCode
Source§impl Clone for ScriptCode
impl Clone for ScriptCode
Source§fn clone(&self) -> ScriptCode
fn clone(&self) -> ScriptCode
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 moreSource§impl Debug for ScriptCode
impl Debug for ScriptCode
Source§impl Default for ScriptCode
impl Default for ScriptCode
Source§fn default() -> ScriptCode
fn default() -> ScriptCode
Returns the “default value” for a type. Read more
Source§impl Deref for ScriptCode
impl Deref for ScriptCode
Source§impl DerefMut for ScriptCode
impl DerefMut for ScriptCode
Source§impl Display for ScriptCode
impl Display for ScriptCode
Source§impl From<Script> for ScriptCode
impl From<Script> for ScriptCode
Source§impl From<ScriptCode> for Script
impl From<ScriptCode> for Script
Source§fn from(wrapped: ScriptCode) -> Self
fn from(wrapped: ScriptCode) -> Self
Converts to this type from the input type.
Source§impl Hash for ScriptCode
impl Hash for ScriptCode
Source§impl LowerHex for ScriptCode
impl LowerHex for ScriptCode
Source§impl Ord for ScriptCode
impl Ord for ScriptCode
Source§fn cmp(&self, other: &ScriptCode) -> Ordering
fn cmp(&self, other: &ScriptCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScriptCode
impl PartialEq for ScriptCode
Source§impl PartialOrd for ScriptCode
impl PartialOrd for ScriptCode
Source§impl UpperHex for ScriptCode
impl UpperHex for ScriptCode
Source§impl Wrapper for ScriptCode
impl Wrapper for ScriptCode
Source§fn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
Source§fn as_inner_mut(&mut self) -> &mut Self::Inner
fn as_inner_mut(&mut self) -> &mut Self::Inner
Returns a mutable reference to the inner representation for the wrapper
type
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
impl Eq for ScriptCode
impl StructuralPartialEq for ScriptCode
Auto Trait Implementations§
impl Freeze for ScriptCode
impl RefUnwindSafe for ScriptCode
impl Send for ScriptCode
impl Sync for ScriptCode
impl Unpin for ScriptCode
impl UnwindSafe for ScriptCode
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