pub struct ProposalCreatedPayload {
pub proposal_id: Id128,
pub proposer: String,
pub title: String,
pub description: String,
pub changeset: ProposalChangeset,
pub reviewers: Vec<String>,
pub expiry: Option<Timestamp>,
pub parent_id: Option<Id128>,
}Fields§
§proposal_id: Id128§proposer: String§title: String§description: String§changeset: ProposalChangeset§reviewers: Vec<String>§expiry: Option<Timestamp>§parent_id: Option<Id128>Trait Implementations§
Source§impl Clone for ProposalCreatedPayload
impl Clone for ProposalCreatedPayload
Source§fn clone(&self) -> ProposalCreatedPayload
fn clone(&self) -> ProposalCreatedPayload
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 ProposalCreatedPayload
impl Debug for ProposalCreatedPayload
Source§impl PartialEq for ProposalCreatedPayload
impl PartialEq for ProposalCreatedPayload
Source§fn eq(&self, other: &ProposalCreatedPayload) -> bool
fn eq(&self, other: &ProposalCreatedPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProposalCreatedPayload
Auto Trait Implementations§
impl Freeze for ProposalCreatedPayload
impl RefUnwindSafe for ProposalCreatedPayload
impl Send for ProposalCreatedPayload
impl Sync for ProposalCreatedPayload
impl Unpin for ProposalCreatedPayload
impl UnsafeUnpin for ProposalCreatedPayload
impl UnwindSafe for ProposalCreatedPayload
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