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

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 From<Proposal> for ProposalProto[src]

impl Hash 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, Global>> 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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<P, N> IntoBytes<P> for N where
    P: Message + FromNative<N>, 
[src]

impl<N, P> IntoNative<N> for P where
    N: FromProto<P>, 
[src]

impl<N, P> IntoProto<P> for N where
    P: FromNative<N>, 
[src]

impl<T> IntoSql for T[src]

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,