pub struct ExplorerBlock {
pub hash: String,
pub timestamp: u64,
pub chain_from: u8,
pub chain_to: u8,
pub height: u64,
pub transactions: Vec<String>,
}Fields§
§hash: String§timestamp: u64§chain_from: u8§chain_to: u8§height: u64§transactions: Vec<String>Trait Implementations§
Source§impl Clone for ExplorerBlock
impl Clone for ExplorerBlock
Source§impl Debug for ExplorerBlock
impl Debug for ExplorerBlock
Source§impl<'de> Deserialize<'de> for ExplorerBlock
impl<'de> Deserialize<'de> for ExplorerBlock
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 ExplorerBlock
impl RefUnwindSafe for ExplorerBlock
impl Send for ExplorerBlock
impl Sync for ExplorerBlock
impl Unpin for ExplorerBlock
impl UnsafeUnpin for ExplorerBlock
impl UnwindSafe for ExplorerBlock
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