[−][src]Struct exonum_configuration::ProposeData
Extended information about a proposal used for the storage.
Fields
tx_propose: Propose
Proposal transaction.
votes_history_hash: Hash
Merkle root of all votes for the proposal.
num_validators: u64
Number of eligible voting validators.
Methods
impl ProposeData
[src]
pub fn new(
tx_propose: Propose,
votes_history_hash: &Hash,
num_validators: u64
) -> Self
[src]
tx_propose: Propose,
votes_history_hash: &Hash,
num_validators: u64
) -> Self
New ProposeData.
Trait Implementations
impl PartialEq<ProposeData> for ProposeData
[src]
fn eq(&self, other: &ProposeData) -> bool
[src]
fn ne(&self, other: &ProposeData) -> bool
[src]
impl Clone for ProposeData
[src]
fn clone(&self) -> ProposeData
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ProposeData
[src]
impl Serialize for ProposeData
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ProposeData
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ProtobufConvert for ProposeData
[src]
type ProtoStruct = ProposeData
Type of the protobuf clone of Self
fn to_pb(&self) -> Self::ProtoStruct
[src]
fn from_pb(pb: Self::ProtoStruct) -> Result<Self, _FailureError>
[src]
impl BinaryForm for ProposeData
[src]
fn encode(&self) -> Result<Vec<u8>, _FailureError>
[src]
fn decode(buffer: &[u8]) -> Result<Self, _FailureError>
[src]
impl CryptoHash for ProposeData
[src]
impl StorageValue for ProposeData
[src]
fn into_bytes(self) -> Vec<u8>
[src]
fn from_bytes(value: Cow<[u8]>) -> Self
[src]
Auto Trait Implementations
impl Send for ProposeData
impl Sync for ProposeData
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> BinaryForm for T where
T: Message,
[src]
T: Message,
impl<T> Erased for T
impl<T> UniqueHash for T where
T: CryptoHash,
[src]
T: CryptoHash,
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,