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§impl Debug for ProposalWithdrawnPayload
impl Debug for ProposalWithdrawnPayload
Source§impl PartialEq for ProposalWithdrawnPayload
impl PartialEq for ProposalWithdrawnPayload
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