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> 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