Struct vit_servicing_station_tests::common::data::generator::voting::template::ProposalTemplate
source · pub struct ProposalTemplate {Show 17 fields
pub internal_id: String,
pub category_name: String,
pub proposal_id: String,
pub proposal_title: String,
pub proposal_summary: String,
pub proposal_funds: String,
pub proposal_url: String,
pub proposal_impact_score: String,
pub files_url: String,
pub proposer_name: String,
pub proposer_url: String,
pub proposer_relevant_experience: String,
pub chain_vote_options: VoteOptions,
pub chain_vote_type: String,
pub challenge_id: Option<String>,
pub challenge_type: ChallengeType,
pub proposal_challenge_info: ProposalChallengeInfo,
}
Fields§
§internal_id: String
§category_name: String
§proposal_id: String
§proposal_title: String
§proposal_summary: String
§proposal_funds: String
§proposal_url: String
§proposal_impact_score: String
§files_url: String
§proposer_name: String
§proposer_url: String
§proposer_relevant_experience: String
§chain_vote_options: VoteOptions
§chain_vote_type: String
§challenge_id: Option<String>
§challenge_type: ChallengeType
§proposal_challenge_info: ProposalChallengeInfo
Trait Implementations§
source§impl Clone for ProposalTemplate
impl Clone for ProposalTemplate
source§fn clone(&self) -> ProposalTemplate
fn clone(&self) -> ProposalTemplate
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<'de> Deserialize<'de> for ProposalTemplate
impl<'de> Deserialize<'de> for ProposalTemplate
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
Auto Trait Implementations§
impl RefUnwindSafe for ProposalTemplate
impl Send for ProposalTemplate
impl Sync for ProposalTemplate
impl Unpin for ProposalTemplate
impl UnwindSafe for ProposalTemplate
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