[][src]Struct splinter::consensus::Proposal

pub struct Proposal {
    pub id: ProposalId,
    pub previous_id: ProposalId,
    pub proposal_height: u64,
    pub summary: Vec<u8>,
    pub consensus_data: Vec<u8>,
}

Fields

id: ProposalIdprevious_id: ProposalIdproposal_height: u64summary: Vec<u8>consensus_data: Vec<u8>

Trait Implementations

impl Clone for Proposal[src]

impl Debug for Proposal[src]

impl Default for Proposal[src]

impl Eq for Proposal[src]

impl From<Proposal> for Proposal[src]

impl Hash for Proposal[src]

impl Into<Proposal> for Proposal[src]

impl PartialEq<Proposal> for Proposal[src]

impl StructuralEq for Proposal[src]

impl StructuralPartialEq for Proposal[src]

impl<'_> TryFrom<&'_ [u8]> for Proposal[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

impl TryInto<Vec<u8>> for Proposal[src]

type Error = ProtobufError

The type returned in the event of a conversion error.

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<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,