pub struct ProposalWithdrawnPayload {
pub proposal_id: Id128,
pub by: String,
pub reason: Option<String>,
}Expand description
Payload for the ProposalWithdrawn event — records who withdrew and an optional reason.
Fields§
§proposal_id: Id128§by: String§reason: Option<String>Trait Implementations§
Source§impl Clone for ProposalWithdrawnPayload
impl Clone for ProposalWithdrawnPayload
Source§fn clone(&self) -> ProposalWithdrawnPayload
fn clone(&self) -> ProposalWithdrawnPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProposalWithdrawnPayload
impl Debug for ProposalWithdrawnPayload
Source§impl PartialEq for ProposalWithdrawnPayload
impl PartialEq for ProposalWithdrawnPayload
Source§fn eq(&self, other: &ProposalWithdrawnPayload) -> bool
fn eq(&self, other: &ProposalWithdrawnPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProposalWithdrawnPayload
Auto Trait Implementations§
impl Freeze for ProposalWithdrawnPayload
impl RefUnwindSafe for ProposalWithdrawnPayload
impl Send for ProposalWithdrawnPayload
impl Sync for ProposalWithdrawnPayload
impl Unpin for ProposalWithdrawnPayload
impl UnsafeUnpin for ProposalWithdrawnPayload
impl UnwindSafe for ProposalWithdrawnPayload
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