pub struct SignedProposal<V, A> {
pub proposal: Proposal<V, A>,
pub signature: Signature,
}Expand description
A fully validated, signed proposal ready to enter consensus.
This type wraps a proposal with a cryptographic signature to ensure authenticity and integrity.
Fields§
§proposal: Proposal<V, A>§signature: SignatureTrait Implementations§
Source§impl<V: Clone, A: Clone> Clone for SignedProposal<V, A>
impl<V: Clone, A: Clone> Clone for SignedProposal<V, A>
Source§fn clone(&self) -> SignedProposal<V, A>
fn clone(&self) -> SignedProposal<V, A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, V, A> Deserialize<'de> for SignedProposal<V, A>where
V: Deserialize<'de>,
A: Deserialize<'de>,
impl<'de, V, A> Deserialize<'de> for SignedProposal<V, A>where
V: Deserialize<'de>,
A: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<V, A> Freeze for SignedProposal<V, A>
impl<V, A> RefUnwindSafe for SignedProposal<V, A>where
V: RefUnwindSafe,
A: RefUnwindSafe,
impl<V, A> Send for SignedProposal<V, A>
impl<V, A> Sync for SignedProposal<V, A>
impl<V, A> Unpin for SignedProposal<V, A>
impl<V, A> UnwindSafe for SignedProposal<V, A>where
V: UnwindSafe,
A: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more