Struct fadroma::prelude::ProposalsResponse  
source · [−]Expand description
ProposalsResponse is data format returned from GovQuery::Proposals query
Fields
proposals: Vec<Proposal, Global>Trait Implementations
sourceimpl Clone for ProposalsResponse
 
impl Clone for ProposalsResponse
sourcefn clone(&self) -> ProposalsResponse
 
fn clone(&self) -> ProposalsResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ProposalsResponse
 
impl Debug for ProposalsResponse
sourceimpl<'de> Deserialize<'de> for ProposalsResponse
 
impl<'de> Deserialize<'de> for ProposalsResponse
sourcefn deserialize<__D>(
    __deserializer: __D
) -> Result<ProposalsResponse, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, 
 
fn deserialize<__D>(
    __deserializer: __D
) -> Result<ProposalsResponse, <__D as Deserializer<'de>>::Error> where
    __D: Deserializer<'de>, 
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for ProposalsResponse
 
impl JsonSchema for ProposalsResponse
sourcefn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 more
sourceimpl PartialEq<ProposalsResponse> for ProposalsResponse
 
impl PartialEq<ProposalsResponse> for ProposalsResponse
sourcefn eq(&self, other: &ProposalsResponse) -> bool
 
fn eq(&self, other: &ProposalsResponse) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ProposalsResponse) -> bool
 
fn ne(&self, other: &ProposalsResponse) -> bool
This method tests for !=.
sourceimpl Serialize for ProposalsResponse
 
impl Serialize for ProposalsResponse
sourcefn serialize<__S>(
    &self, 
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
    __S: Serializer, 
 
fn serialize<__S>(
    &self, 
    __serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
    __S: Serializer, 
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ProposalsResponse
Auto Trait Implementations
impl RefUnwindSafe for ProposalsResponse
impl Send for ProposalsResponse
impl Sync for ProposalsResponse
impl Unpin for ProposalsResponse
impl UnwindSafe for ProposalsResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more