pub struct Request<Q, B = ()>where
Q: QueryBounds,
B: BodyBounds,{ /* private fields */ }Implementations§
Source§impl Request<PostQuery, ChatMessage>
impl Request<PostQuery, ChatMessage>
Source§impl Request<PostQuery, ChatMessage>
impl Request<PostQuery, ChatMessage>
Source§impl Request<PostQuery, AIChallenge>
impl Request<PostQuery, AIChallenge>
pub fn new(challenge: AIChallenge) -> Self
Source§impl Request<PostQuery, CreateChallenge>
impl Request<PostQuery, CreateChallenge>
pub fn new(username: &str, challenge: CreateChallenge) -> Self
Source§impl Request<PostQuery, DeclineReason>
impl Request<PostQuery, DeclineReason>
Source§impl Request<PostQuery, OpenChallenge>
impl Request<PostQuery, OpenChallenge>
pub fn new(challenge: OpenChallenge) -> Self
Source§impl Request<PostQuery, AcquireAnalysis>
impl Request<PostQuery, AcquireAnalysis>
pub fn new(acquire_analysis: AcquireAnalysis) -> Self
Source§impl Request<PostQuery, AnalysisRequest>
impl Request<PostQuery, AnalysisRequest>
pub fn new(id: &str, analysis_request: AnalysisRequest) -> Self
Source§impl Request<PostQuery, CreateExternalEngine>
impl Request<PostQuery, CreateExternalEngine>
pub fn new(engine: CreateExternalEngine) -> Self
Source§impl Request<PutQuery, UpdateExternalEngine>
impl Request<PutQuery, UpdateExternalEngine>
pub fn new(id: &str, engine: UpdateExternalEngine) -> Self
Source§impl Request<PostQuery, ImportPgnBody>
impl Request<PostQuery, ImportPgnBody>
pub fn new(study_id: String, import_pgn_body: ImportPgnBody) -> Self
Source§impl Request<GetQuery>
impl Request<GetQuery>
pub fn new(channel: ChannelName, query: Option<GetQuery>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<Q, B> Freeze for Request<Q, B>
impl<Q, B> RefUnwindSafe for Request<Q, B>where
Q: RefUnwindSafe,
B: RefUnwindSafe,
impl<Q, B> Send for Request<Q, B>
impl<Q, B> Sync for Request<Q, B>
impl<Q, B> Unpin for Request<Q, B>
impl<Q, B> UnwindSafe for Request<Q, B>where
Q: UnwindSafe,
B: UnwindSafe,
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