pub struct ScriptPubkeyRef<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ScriptPubkeyRef<'a>
impl<'a> ScriptPubkeyRef<'a>
pub fn to_owned(&self) -> ScriptPubkey
Trait Implementations§
Source§impl<'a> Clone for ScriptPubkeyRef<'a>
impl<'a> Clone for ScriptPubkeyRef<'a>
Source§impl<'a> From<&ScriptPubkeyRef<'a>> for Vec<u8>
impl<'a> From<&ScriptPubkeyRef<'a>> for Vec<u8>
Source§fn from(script_ref: &ScriptPubkeyRef<'a>) -> Self
fn from(script_ref: &ScriptPubkeyRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ScriptPubkeyRef<'a>> for Vec<u8>
impl<'a> From<ScriptPubkeyRef<'a>> for Vec<u8>
Source§fn from(script_ref: ScriptPubkeyRef<'a>) -> Self
fn from(script_ref: ScriptPubkeyRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> ScriptPubkeyExt for ScriptPubkeyRef<'a>
impl<'a> ScriptPubkeyExt for ScriptPubkeyRef<'a>
impl<'a> Copy for ScriptPubkeyRef<'a>
impl<'a> Send for ScriptPubkeyRef<'a>
impl<'a> Sync for ScriptPubkeyRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScriptPubkeyRef<'a>
impl<'a> RefUnwindSafe for ScriptPubkeyRef<'a>
impl<'a> Unpin for ScriptPubkeyRef<'a>
impl<'a> UnwindSafe for ScriptPubkeyRef<'a>
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