Struct electrum_client::HeaderNotification
source · [−]pub struct HeaderNotification {
pub height: usize,
pub header: BlockHeader,
}
Expand description
Notification of a new block header
Fields
height: usize
New block height.
header: BlockHeader
Newly added header.
Trait Implementations
sourceimpl Debug for HeaderNotification
impl Debug for HeaderNotification
sourceimpl<'de> Deserialize<'de> for HeaderNotification
impl<'de> Deserialize<'de> for HeaderNotification
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 HeaderNotification
impl Send for HeaderNotification
impl Sync for HeaderNotification
impl Unpin for HeaderNotification
impl UnwindSafe for HeaderNotification
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