Struct wallet::blockchain::TimeHeight[][src]

pub struct TimeHeight { /* fields omitted */ }

Implementations

impl TimeHeight[src]

pub fn timestamp_ref(&self) -> &NaiveDateTime[src]

Method borrowing TimeHeight::timestamp field.

pub fn block_height_ref(&self) -> &u32[src]

Method borrowing TimeHeight::block_height field.

pub fn block_hash_ref(&self) -> &BlockHash[src]

Method borrowing TimeHeight::block_hash field.

Trait Implementations

impl Clone for TimeHeight[src]

impl Debug for TimeHeight[src]

impl Default for TimeHeight[src]

impl Display for TimeHeight[src]

impl Eq for TimeHeight[src]

impl FromStr for TimeHeight[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl Hash for TimeHeight[src]

impl Ord for TimeHeight[src]

impl PartialEq<TimeHeight> for TimeHeight[src]

impl PartialOrd<TimeHeight> for TimeHeight[src]

impl StrictDecode for TimeHeight[src]

impl StrictEncode for TimeHeight[src]

impl StructuralEq for TimeHeight[src]

impl StructuralPartialEq for TimeHeight[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.