Struct vit_servicing_station_lib::db::models::proposals::FullProposalInfo
source · pub struct FullProposalInfo {
pub proposal: Proposal,
pub challenge_info: ProposalChallengeInfo,
pub challenge_type: ChallengeType,
pub voteplan: ProposalVotePlanCommon,
pub group_id: String,
}
Fields§
§proposal: Proposal
§challenge_info: ProposalChallengeInfo
§challenge_type: ChallengeType
§voteplan: ProposalVotePlanCommon
§group_id: String
Trait Implementations§
source§impl Clone for FullProposalInfo
impl Clone for FullProposalInfo
source§fn clone(&self) -> FullProposalInfo
fn clone(&self) -> FullProposalInfo
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 FullProposalInfo
impl Debug for FullProposalInfo
source§impl<'de> Deserialize<'de> for FullProposalInfo
impl<'de> Deserialize<'de> for FullProposalInfo
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<FullProposalInfo> for FullProposalInfo
impl PartialEq<FullProposalInfo> for FullProposalInfo
source§fn eq(&self, other: &FullProposalInfo) -> bool
fn eq(&self, other: &FullProposalInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<DB: Backend> Queryable<(Integer, Text, Text, Text, Text, Text, BigInt, Text, Text, BigInt, Text, Text, Text, Text, Binary, Array<Text>, Integer, Nullable<Text>, Integer, BigInt, BigInt, BigInt, Text, Text, Integer, Text, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, BigInt, Text, Text), DB> for FullProposalInfowhere
i32: FromSql<Integer, DB>,
i64: FromSql<BigInt, DB>,
String: FromSql<Text, DB>,
Vec<u8>: FromSql<Binary, DB>,
Vec<String>: FromSql<Array<Text>, DB>,
impl<DB: Backend> Queryable<(Integer, Text, Text, Text, Text, Text, BigInt, Text, Text, BigInt, Text, Text, Text, Text, Binary, Array<Text>, Integer, Nullable<Text>, Integer, BigInt, BigInt, BigInt, Text, Text, Integer, Text, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, Nullable<Text>, BigInt, Text, Text), DB> for FullProposalInfowhere i32: FromSql<Integer, DB>, i64: FromSql<BigInt, DB>, String: FromSql<Text, DB>, Vec<u8>: FromSql<Binary, DB>, Vec<String>: FromSql<Array<Text>, DB>,
§type Row = (i32, String, String, String, String, String, i64, String, String, i64, String, String, String, String, Vec<u8, Global>, Vec<String, Global>, i32, Option<String>, i32, i64, i64, i64, String, String, i32, String, Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, i64, String, String)
type Row = (i32, String, String, String, String, String, i64, String, String, i64, String, String, String, String, Vec<u8, Global>, Vec<String, Global>, i32, Option<String>, i32, i64, i64, i64, String, String, i32, String, Option<String>, Option<String>, Option<String>, Option<String>, Option<String>, i64, String, String)
The Rust type you’d like to map from. Read more
source§impl Serialize for FullProposalInfo
impl Serialize for FullProposalInfo
impl Eq for FullProposalInfo
impl StructuralEq for FullProposalInfo
impl StructuralPartialEq for FullProposalInfo
Auto Trait Implementations§
impl RefUnwindSafe for FullProposalInfo
impl Send for FullProposalInfo
impl Sync for FullProposalInfo
impl Unpin for FullProposalInfo
impl UnwindSafe for FullProposalInfo
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.