pub struct ProposalAppliedPayload {
pub proposal_id: Id128,
pub applied_at: Timestamp,
pub applied_by: String,
pub result: ApplyResult,
}Expand description
Payload for the ProposalApplied event — records the outcome of the apply attempt.
Fields§
§proposal_id: Id128§applied_at: Timestamp§applied_by: String§result: ApplyResultTrait Implementations§
Source§impl Clone for ProposalAppliedPayload
impl Clone for ProposalAppliedPayload
Source§fn clone(&self) -> ProposalAppliedPayload
fn clone(&self) -> ProposalAppliedPayload
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 ProposalAppliedPayload
impl Debug for ProposalAppliedPayload
Source§impl PartialEq for ProposalAppliedPayload
impl PartialEq for ProposalAppliedPayload
Source§fn eq(&self, other: &ProposalAppliedPayload) -> bool
fn eq(&self, other: &ProposalAppliedPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProposalAppliedPayload
Auto Trait Implementations§
impl Freeze for ProposalAppliedPayload
impl RefUnwindSafe for ProposalAppliedPayload
impl Send for ProposalAppliedPayload
impl Sync for ProposalAppliedPayload
impl Unpin for ProposalAppliedPayload
impl UnsafeUnpin for ProposalAppliedPayload
impl UnwindSafe for ProposalAppliedPayload
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