pub struct BlockAddedNotification {
pub hash: Sha256,
pub height: u32,
}Fields§
§hash: Sha256§height: u32Trait Implementations§
Source§impl Clone for BlockAddedNotification
impl Clone for BlockAddedNotification
Source§fn clone(&self) -> BlockAddedNotification
fn clone(&self) -> BlockAddedNotification
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 BlockAddedNotification
impl Debug for BlockAddedNotification
Source§impl<'de> Deserialize<'de> for BlockAddedNotification
impl<'de> Deserialize<'de> for BlockAddedNotification
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 Freeze for BlockAddedNotification
impl RefUnwindSafe for BlockAddedNotification
impl Send for BlockAddedNotification
impl Sync for BlockAddedNotification
impl Unpin for BlockAddedNotification
impl UnwindSafe for BlockAddedNotification
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