Enum lichess_api::model::Body
source · pub enum Body<B: BodyBounds> {
Form(B),
Json(B),
PlainText(String),
Empty,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Body<B>where
B: Freeze,
impl<B> RefUnwindSafe for Body<B>where
B: RefUnwindSafe,
impl<B> Send for Body<B>where
B: Send,
impl<B> Sync for Body<B>where
B: Sync,
impl<B> Unpin for Body<B>where
B: Unpin,
impl<B> UnwindSafe for Body<B>where
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)