pub struct ChainTipData {
pub block_hash: String,
pub height: i64,
pub slot: i64,
}
Fields§
§block_hash: String
§height: i64
§slot: i64
Trait Implementations§
Source§impl Clone for ChainTipData
impl Clone for ChainTipData
Source§fn clone(&self) -> ChainTipData
fn clone(&self) -> ChainTipData
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 ChainTipData
impl Debug for ChainTipData
Source§impl<'de> Deserialize<'de> for ChainTipData
impl<'de> Deserialize<'de> for ChainTipData
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 ChainTipData
impl RefUnwindSafe for ChainTipData
impl Send for ChainTipData
impl Sync for ChainTipData
impl Unpin for ChainTipData
impl UnwindSafe for ChainTipData
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