pub struct ProposalCreatePayload {
pub proposal_id: String,
pub title: String,
pub body: String,
pub content_type: Option<String>,
pub references: Vec<String>,
pub source_event_ids: Vec<String>,
pub extra: BTreeMap<String, Value>,
}Fields§
§proposal_id: String§title: String§body: String§content_type: Option<String>§references: Vec<String>§source_event_ids: Vec<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ProposalCreatePayload
impl Clone for ProposalCreatePayload
Source§fn clone(&self) -> ProposalCreatePayload
fn clone(&self) -> ProposalCreatePayload
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 ProposalCreatePayload
impl Debug for ProposalCreatePayload
Source§impl<'de> Deserialize<'de> for ProposalCreatePayload
impl<'de> Deserialize<'de> for ProposalCreatePayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProposalCreatePayload
impl PartialEq for ProposalCreatePayload
Source§fn eq(&self, other: &ProposalCreatePayload) -> bool
fn eq(&self, other: &ProposalCreatePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProposalCreatePayload
impl Serialize for ProposalCreatePayload
impl StructuralPartialEq for ProposalCreatePayload
Auto Trait Implementations§
impl Freeze for ProposalCreatePayload
impl RefUnwindSafe for ProposalCreatePayload
impl Send for ProposalCreatePayload
impl Sync for ProposalCreatePayload
impl Unpin for ProposalCreatePayload
impl UnsafeUnpin for ProposalCreatePayload
impl UnwindSafe for ProposalCreatePayload
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