pub struct Batch {
pub queries: Vec<BatchQuery>,
pub key: Option<Box<str>>,
pub fields: Option<Box<str>>,
pub lang: Option<Lang>,
}
Fields§
§queries: Vec<BatchQuery>
§key: Option<Box<str>>
§fields: Option<Box<str>>
§lang: Option<Lang>
Implementations§
Trait Implementations§
Source§impl Endpoint for Batch
impl Endpoint for Batch
type RenderRequestError = EndpointError
type ParseResponseOutput = (BatchResponseBodyJson, Option<RateLimit>)
type ParseResponseError = EndpointError
fn render_request(&self) -> Result<Request<Body>, Self::RenderRequestError>
fn parse_response( &self, response: Response<Body>, ) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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