Struct exonum_configuration::ProposeData []

pub struct ProposeData { /* fields omitted */ }

Extended information about a proposal used for the storage.

Methods

impl ProposeData

Creates a new instance with given parameters.

Proposal transaction.

Merkle root of all votes for the proposal.

Number of eligible voting validators.

impl ProposeData
[src]

[src]

Changes the votes_history_hash field of this structure, leaving other fields intact.

Trait Implementations

impl Clone for ProposeData

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ProposeData

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 ProposeData

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 ProposeData

Returns a hash of the value. Read more

impl StorageValue for ProposeData

Important traits for Vec<u8>

Serialize a value into a vector of bytes.

Deserialize a value from bytes.

impl Debug for ProposeData

Formats the value using the given formatter. Read more

impl ExonumJson for ProposeData

write deserialized field in buffer on place.

serialize field as json::Value

impl ExonumJsonDeserialize for ProposeData

deserialize json value.

impl<'de> Deserialize<'de> for ProposeData

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ProposeData

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ProposeData

impl Sync for ProposeData