pub struct ScriptHashSubscribe {
pub script_hash: ElectrumScriptHash,
}Fields§
§script_hash: ElectrumScriptHashImplementations§
Source§impl ScriptHashSubscribe
impl ScriptHashSubscribe
pub fn from_script<S: AsRef<Script>>(script: S) -> Self
Trait Implementations§
Source§impl Clone for ScriptHashSubscribe
impl Clone for ScriptHashSubscribe
Source§fn clone(&self) -> ScriptHashSubscribe
fn clone(&self) -> ScriptHashSubscribe
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 ScriptHashSubscribe
impl Debug for ScriptHashSubscribe
Source§impl Request for ScriptHashSubscribe
impl Request for ScriptHashSubscribe
Source§type Response = Option<ElectrumScriptStatus>
type Response = Option<ElectrumScriptStatus>
The associated response type of this request.
fn to_method_and_params(&self) -> MethodAndParams
Auto Trait Implementations§
impl Freeze for ScriptHashSubscribe
impl RefUnwindSafe for ScriptHashSubscribe
impl Send for ScriptHashSubscribe
impl Sync for ScriptHashSubscribe
impl Unpin for ScriptHashSubscribe
impl UnwindSafe for ScriptHashSubscribe
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