pub struct ChallengeInfo {
pub proposal_brief: String,
pub proposal_importance: String,
pub proposal_goal: String,
pub proposal_metrics: String,
}
Fields§
§proposal_brief: String
§proposal_importance: String
§proposal_goal: String
§proposal_metrics: String
Implementations§
source§impl ChallengeInfo
impl ChallengeInfo
pub fn to_sql_values_with_proposal_id( &self, proposal_id: &str ) -> ChallengeSqlValues
Trait Implementations§
source§impl Clone for ChallengeInfo
impl Clone for ChallengeInfo
source§fn clone(&self) -> ChallengeInfo
fn clone(&self) -> ChallengeInfo
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 ChallengeInfo
impl Debug for ChallengeInfo
source§impl<'de> Deserialize<'de> for ChallengeInfo
impl<'de> Deserialize<'de> for ChallengeInfo
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<ChallengeInfo> for ChallengeInfo
impl PartialEq<ChallengeInfo> for ChallengeInfo
source§fn eq(&self, other: &ChallengeInfo) -> bool
fn eq(&self, other: &ChallengeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChallengeInfo
impl Serialize for ChallengeInfo
impl Eq for ChallengeInfo
impl StructuralEq for ChallengeInfo
impl StructuralPartialEq for ChallengeInfo
Auto Trait Implementations§
impl RefUnwindSafe for ChallengeInfo
impl Send for ChallengeInfo
impl Sync for ChallengeInfo
impl Unpin for ChallengeInfo
impl UnwindSafe for ChallengeInfo
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.