[−][src]Struct overlord::types::Proposal
A proposal
Fields
height: u64
Height of the proposal.
round: u64
Round of the proposal.
content: T
Proposal content.
block_hash: Hash
Proposal block hash.
lock: Option<PoLC>
Optional field. If the proposal has a PoLC, this contains the lock round and lock votes.
proposer: Address
Proposer address.
Trait Implementations
impl<T: Clone + Codec> Clone for Proposal<T>
[src]
impl<T: Debug + Codec> Debug for Proposal<T>
[src]
impl<T: Codec> Decodable for Proposal<T>
[src]
fn decode(r: &Rlp) -> Result<Self, DecoderError>
[src]
impl<T: Codec> Display for Proposal<T>
[src]
impl<T: Codec> Encodable for Proposal<T>
[src]
impl<T: Eq + Codec> Eq for Proposal<T>
[src]
impl<T: PartialEq + Codec> PartialEq<Proposal<T>> for Proposal<T>
[src]
impl<T: Codec> StructuralEq for Proposal<T>
[src]
impl<T: Codec> StructuralPartialEq for Proposal<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Proposal<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Proposal<T>
impl<T> Sync for Proposal<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Proposal<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Proposal<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cloneable for T where
T: 'static + Send + Sync + Debug + DynClone,
[src]
T: 'static + Send + Sync + Debug + DynClone,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,