pub struct ChallengeTemplate {
pub internal_id: i32,
pub id: String,
pub challenge_type: ChallengeType,
pub title: String,
pub description: String,
pub rewards_total: String,
pub proposers_rewards: String,
pub challenge_url: String,
pub fund_id: Option<String>,
pub highlight: Option<ChallengeHighlights>,
}
Fields§
§internal_id: i32
§id: String
§challenge_type: ChallengeType
§title: String
§description: String
§rewards_total: String
§proposers_rewards: String
§challenge_url: String
§fund_id: Option<String>
§highlight: Option<ChallengeHighlights>
Trait Implementations§
source§impl Clone for ChallengeTemplate
impl Clone for ChallengeTemplate
source§fn clone(&self) -> ChallengeTemplate
fn clone(&self) -> ChallengeTemplate
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 ChallengeTemplate
impl<'de> Deserialize<'de> for ChallengeTemplate
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 ChallengeTemplate
impl Send for ChallengeTemplate
impl Sync for ChallengeTemplate
impl Unpin for ChallengeTemplate
impl UnwindSafe for ChallengeTemplate
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