pub type PostRequest = Request<PostQuery, AIChallenge>;Aliased Type§
pub struct PostRequest { /* private fields */ }Implementations§
Source§impl PostRequest
impl PostRequest
pub fn new(challenge: AIChallenge) -> Self
Trait Implementations§
Source§impl From<AIChallenge> for PostRequest
impl From<AIChallenge> for PostRequest
Source§fn from(challenge: AIChallenge) -> Self
fn from(challenge: AIChallenge) -> Self
Converts to this type from the input type.