pub struct ProposalData {
pub id: u64,
}
Expand description
Proposal data (Proposer -> Acceptor)
Fields§
§id: u64
Trait Implementations§
Source§impl Clone for ProposalData
impl Clone for ProposalData
Source§fn clone(&self) -> ProposalData
fn clone(&self) -> ProposalData
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 Debug for ProposalData
impl Debug for ProposalData
Source§impl Hash for ProposalData
impl Hash for ProposalData
Source§impl PartialEq for ProposalData
impl PartialEq for ProposalData
impl Eq for ProposalData
impl StructuralPartialEq for ProposalData
Auto Trait Implementations§
impl Freeze for ProposalData
impl RefUnwindSafe for ProposalData
impl Send for ProposalData
impl Sync for ProposalData
impl Unpin for ProposalData
impl UnwindSafe for ProposalData
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