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

pub struct TxLocation { /* fields omitted */ }

Transaction location in block.

Methods

impl TxLocation
[src]

[src]

Creates a new instance with given parameters.

[src]

Hashes data as a raw byte array and returns the resulting hash.

[src]

Height of block in the blockchain.

[src]

Index in block.

Trait Implementations

impl Clone for TxLocation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TxLocation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> Field<'a> for TxLocation
[src]

[src]

Read Field from buffer, with given position, beware of memory unsafety, you should check Field before read. Read more

[src]

Write Field to buffer, in given position write doesn't lead to memory unsafety. Read more

[src]

Checks if data in the buffer could be deserialized. Returns an index of latest data seen. Read more

[src]

Field's header size

impl StorageValue for TxLocation
[src]

[src]

Serialize a value into a vector of bytes.

[src]

Deserialize a value from bytes.

[src]

Returns a hash of the value. Read more

impl Debug for TxLocation
[src]

[src]

Formats the value using the given formatter.

impl ExonumJson for TxLocation
[src]

[src]

write deserialized field in buffer on place.

[src]

serialize field as json::Value

impl ExonumJsonDeserialize for TxLocation
[src]

[src]

deserialize json value.

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TxLocation
[src]

[src]

Serialize this value into the given Serde serializer. Read more