Struct overlord::types::SignedProposal
source · [−]Expand description
A signed proposal.
Fields
signature: Bytes
Signature of the proposal.
proposal: Proposal<T>
A proposal.
Trait Implementations
sourceimpl<T: Clone + Codec> Clone for SignedProposal<T>
impl<T: Clone + Codec> Clone for SignedProposal<T>
sourcefn clone(&self) -> SignedProposal<T>
fn clone(&self) -> SignedProposal<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug + Codec> Debug for SignedProposal<T>
impl<T: Debug + Codec> Debug for SignedProposal<T>
sourceimpl<T: Codec> Decodable for SignedProposal<T>
impl<T: Codec> Decodable for SignedProposal<T>
sourcefn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(r: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl<T: Codec> Encodable for SignedProposal<T>
impl<T: Codec> Encodable for SignedProposal<T>
sourceimpl<T: PartialEq + Codec> PartialEq<SignedProposal<T>> for SignedProposal<T>
impl<T: PartialEq + Codec> PartialEq<SignedProposal<T>> for SignedProposal<T>
sourcefn eq(&self, other: &SignedProposal<T>) -> bool
fn eq(&self, other: &SignedProposal<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SignedProposal<T>) -> bool
fn ne(&self, other: &SignedProposal<T>) -> bool
This method tests for !=
.
impl<T: Eq + Codec> Eq for SignedProposal<T>
impl<T: Codec> StructuralEq for SignedProposal<T>
impl<T: Codec> StructuralPartialEq for SignedProposal<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for SignedProposal<T> where
T: RefUnwindSafe,
impl<T> Send for SignedProposal<T>
impl<T> Sync for SignedProposal<T> where
T: Sync,
impl<T> Unpin for SignedProposal<T> where
T: Unpin,
impl<T> UnwindSafe for SignedProposal<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more