Struct chainseeker::BlockHeader[][src]

pub struct BlockHeader {
Show fields pub height: u32, pub header: String, pub hash: String, pub version: i32, pub previousblockhash: String, pub merkleroot: String, pub time: u32, pub bits: String, pub difficulty: f64, pub nonce: u32, pub size: u32, pub strippedsize: u32, pub weight: u32, pub ntxs: usize,
}

Fields

height: u32header: Stringhash: Stringversion: i32previousblockhash: Stringmerkleroot: Stringtime: u32bits: Stringdifficulty: f64nonce: u32size: u32strippedsize: u32weight: u32ntxs: usize

Trait Implementations

impl Clone for BlockHeader[src]

impl Debug for BlockHeader[src]

impl<'de> Deserialize<'de> for BlockHeader[src]

impl PartialEq<BlockHeader> for BlockHeader[src]

impl Serialize for BlockHeader[src]

impl StructuralPartialEq for BlockHeader[src]

Auto Trait Implementations

impl RefUnwindSafe for BlockHeader

impl Send for BlockHeader

impl Sync for BlockHeader

impl Unpin for BlockHeader

impl UnwindSafe for BlockHeader

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]