Struct lichess_api::model::Request
source · 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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)