pub struct CreateVotingProposalRequest {
pub title: String,
pub description: String,
pub proposal_type: String,
}Expand description
CreateVotingProposalRequest model.
Fields§
§title: String§description: String§proposal_type: StringTrait Implementations§
Source§impl Clone for CreateVotingProposalRequest
impl Clone for CreateVotingProposalRequest
Source§fn clone(&self) -> CreateVotingProposalRequest
fn clone(&self) -> CreateVotingProposalRequest
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 CreateVotingProposalRequest
impl Debug for CreateVotingProposalRequest
Source§impl Default for CreateVotingProposalRequest
impl Default for CreateVotingProposalRequest
Source§fn default() -> CreateVotingProposalRequest
fn default() -> CreateVotingProposalRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateVotingProposalRequest
impl<'de> Deserialize<'de> for CreateVotingProposalRequest
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
impl StructuralPartialEq for CreateVotingProposalRequest
Auto Trait Implementations§
impl Freeze for CreateVotingProposalRequest
impl RefUnwindSafe for CreateVotingProposalRequest
impl Send for CreateVotingProposalRequest
impl Sync for CreateVotingProposalRequest
impl Unpin for CreateVotingProposalRequest
impl UnsafeUnpin for CreateVotingProposalRequest
impl UnwindSafe for CreateVotingProposalRequest
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