Struct electrum_client::HeaderNotification
source · pub struct HeaderNotification {
pub height: usize,
pub header: Header,
}
Expand description
Notification of a new block header
Fields§
§height: usize
New block height.
header: Header
Newly added header.
Trait Implementations§
source§impl Clone for HeaderNotification
impl Clone for HeaderNotification
source§fn clone(&self) -> HeaderNotification
fn clone(&self) -> HeaderNotification
Returns a copy 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 HeaderNotification
impl Debug for HeaderNotification
source§impl<'de> Deserialize<'de> for HeaderNotification
impl<'de> Deserialize<'de> for HeaderNotification
source§fn 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§
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