Struct dao_voting::multiple_choice::MultipleChoiceVotes
source · pub struct MultipleChoiceVotes {
pub vote_weights: Vec<Uint128>,
}Fields§
§vote_weights: Vec<Uint128>Implementations§
Trait Implementations§
source§impl Clone for MultipleChoiceVotes
impl Clone for MultipleChoiceVotes
source§fn clone(&self) -> MultipleChoiceVotes
fn clone(&self) -> MultipleChoiceVotes
Returns a copy of the value. Read more
1.0.0 · 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 MultipleChoiceVotes
impl Debug for MultipleChoiceVotes
source§impl<'de> Deserialize<'de> for MultipleChoiceVotes
impl<'de> Deserialize<'de> for MultipleChoiceVotes
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 JsonSchema for MultipleChoiceVotes
impl JsonSchema for MultipleChoiceVotes
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq<MultipleChoiceVotes> for MultipleChoiceVotes
impl PartialEq<MultipleChoiceVotes> for MultipleChoiceVotes
source§fn eq(&self, other: &MultipleChoiceVotes) -> bool
fn eq(&self, other: &MultipleChoiceVotes) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MultipleChoiceVotes
impl Serialize for MultipleChoiceVotes
impl StructuralPartialEq for MultipleChoiceVotes
Auto Trait Implementations§
impl RefUnwindSafe for MultipleChoiceVotes
impl Send for MultipleChoiceVotes
impl Sync for MultipleChoiceVotes
impl Unpin for MultipleChoiceVotes
impl UnwindSafe for MultipleChoiceVotes
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