Struct exonum_btc_anchoring::blockchain::LectContent []

pub struct LectContent { /* fields omitted */ }

Last expected correct transaction content.

Methods

impl LectContent

Creates a new instance with given parameters.

Hash of exonum transaction that contains this lect.

Bitcoin transaction content.

Trait Implementations

impl Clone for LectContent

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for LectContent

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

This method tests for !=.

impl<'a> Field<'a> for LectContent

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

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

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

Field's header size

impl CryptoHash for LectContent

Returns a hash of the value. Read more

impl StorageValue for LectContent

Important traits for Vec<u8>

Serialize a value into a vector of bytes.

Deserialize a value from bytes.

impl Debug for LectContent

Formats the value using the given formatter. Read more

impl ExonumJson for LectContent

write deserialized field in buffer on place.

serialize field as json::Value

impl ExonumJsonDeserialize for LectContent

deserialize json value.

impl<'de> Deserialize<'de> for LectContent

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for LectContent

Serialize this value into the given Serde serializer. Read more

impl From<LectContent> for LectInfo
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for LectContent

impl Sync for LectContent