pub struct ProposalReviewedPayload {
pub proposal_id: Id128,
pub reviewer: String,
pub decision: ProposalDecision,
pub comment: Option<String>,
}Fields§
§proposal_id: Id128§reviewer: String§decision: ProposalDecision§comment: Option<String>Trait Implementations§
Source§impl Clone for ProposalReviewedPayload
impl Clone for ProposalReviewedPayload
Source§fn clone(&self) -> ProposalReviewedPayload
fn clone(&self) -> ProposalReviewedPayload
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 ProposalReviewedPayload
impl Debug for ProposalReviewedPayload
Source§impl PartialEq for ProposalReviewedPayload
impl PartialEq for ProposalReviewedPayload
Source§fn eq(&self, other: &ProposalReviewedPayload) -> bool
fn eq(&self, other: &ProposalReviewedPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProposalReviewedPayload
Auto Trait Implementations§
impl Freeze for ProposalReviewedPayload
impl RefUnwindSafe for ProposalReviewedPayload
impl Send for ProposalReviewedPayload
impl Sync for ProposalReviewedPayload
impl Unpin for ProposalReviewedPayload
impl UnsafeUnpin for ProposalReviewedPayload
impl UnwindSafe for ProposalReviewedPayload
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