[][src]Struct exonum::messages::schema::blockchain::TxLocation

pub struct TxLocation {
    pub block_height: u64,
    pub position_in_block: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

block_height: u64position_in_block: u32unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl TxLocation[src]

pub fn new() -> TxLocation[src]

pub fn get_block_height(&self) -> u64[src]

pub fn clear_block_height(&mut self)[src]

pub fn set_block_height(&mut self, v: u64)[src]

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

pub fn clear_position_in_block(&mut self)[src]

pub fn set_position_in_block(&mut self, v: u32)[src]

Trait Implementations

impl Clear for TxLocation[src]

impl Clone for TxLocation[src]

impl Debug for TxLocation[src]

impl Default for TxLocation[src]

impl<'a> Default for &'a TxLocation[src]

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

impl Message for TxLocation[src]

impl PartialEq<TxLocation> for TxLocation[src]

impl ProtobufValue for TxLocation[src]

impl Serialize for TxLocation[src]

impl StructuralPartialEq for TxLocation[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> Clear for T where
    T: InitializableFromZeroed + ?Sized

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

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

impl<T> InitializableFromZeroed for T where
    T: Default

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, 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<V, T> VZip<V> for T where
    V: MultiLane<T>,