Struct electrum_client::ScriptNotification
source · [−]pub struct ScriptNotification {
pub scripthash: ScriptHash,
pub status: ScriptStatus,
}
Expand description
Notification of the new status of a script
Fields
scripthash: ScriptHash
Address that generated this notification.
status: ScriptStatus
The new status of the address.
Trait Implementations
sourceimpl Debug for ScriptNotification
impl Debug for ScriptNotification
sourceimpl<'de> Deserialize<'de> for ScriptNotification
impl<'de> Deserialize<'de> for ScriptNotification
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScriptNotification
impl Send for ScriptNotification
impl Sync for ScriptNotification
impl Unpin for ScriptNotification
impl UnwindSafe for ScriptNotification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more