pub struct ProposalListResponse<P> {
pub proposals: Vec<ProposalResponse<P>>,
}Fields§
§proposals: Vec<ProposalResponse<P>>Trait Implementations§
Source§impl<P: Clone> Clone for ProposalListResponse<P>
impl<P: Clone> Clone for ProposalListResponse<P>
Source§fn clone(&self) -> ProposalListResponse<P>
fn clone(&self) -> ProposalListResponse<P>
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<P: Debug> Debug for ProposalListResponse<P>
impl<P: Debug> Debug for ProposalListResponse<P>
Source§impl<'de, P> Deserialize<'de> for ProposalListResponse<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for ProposalListResponse<P>where
P: Deserialize<'de>,
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<P: Eq> Eq for ProposalListResponse<P>
Source§impl<P: JsonSchema> JsonSchema for ProposalListResponse<P>
impl<P: JsonSchema> JsonSchema for ProposalListResponse<P>
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§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<P: PartialEq> PartialEq for ProposalListResponse<P>
impl<P: PartialEq> PartialEq for ProposalListResponse<P>
Source§impl<P> Serialize for ProposalListResponse<P>where
P: Serialize,
impl<P> Serialize for ProposalListResponse<P>where
P: Serialize,
impl<P: PartialEq> StructuralPartialEq for ProposalListResponse<P>
Auto Trait Implementations§
impl<P> Freeze for ProposalListResponse<P>
impl<P> RefUnwindSafe for ProposalListResponse<P>where
P: RefUnwindSafe,
impl<P> Send for ProposalListResponse<P>where
P: Send,
impl<P> Sync for ProposalListResponse<P>where
P: Sync,
impl<P> Unpin for ProposalListResponse<P>where
P: Unpin,
impl<P> UnsafeUnpin for ProposalListResponse<P>
impl<P> UnwindSafe for ProposalListResponse<P>where
P: UnwindSafe,
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