struct SerdeProposalChallengeInfo {
simple: Option<ChallengeInfo>,
community: Option<ChallengeInfo>,
}
Fields§
§simple: Option<ChallengeInfo>
§community: Option<ChallengeInfo>
Trait Implementations§
source§impl<'de> Deserialize<'de> for SerdeProposalChallengeInfo
impl<'de> Deserialize<'de> for SerdeProposalChallengeInfo
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 From<ProposalChallengeInfo> for SerdeProposalChallengeInfo
impl From<ProposalChallengeInfo> for SerdeProposalChallengeInfo
source§fn from(data: ProposalChallengeInfo) -> Self
fn from(data: ProposalChallengeInfo) -> Self
Converts to this type from the input type.
source§impl TryFrom<SerdeProposalChallengeInfo> for ProposalChallengeInfo
impl TryFrom<SerdeProposalChallengeInfo> for ProposalChallengeInfo
§type Error = SerdeToProposalChallengeInfoError
type Error = SerdeToProposalChallengeInfoError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for SerdeProposalChallengeInfo
impl Send for SerdeProposalChallengeInfo
impl Sync for SerdeProposalChallengeInfo
impl Unpin for SerdeProposalChallengeInfo
impl UnwindSafe for SerdeProposalChallengeInfo
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