Struct kinto_http::request::CreateRecord
[−]
[src]
pub struct CreateRecord { pub preparer: RequestPreparer, }
Create request on plural endpoints.
Fields
preparer: RequestPreparer
Methods
impl CreateRecord
[src]
fn new(client: KintoClient, path: String) -> CreateRecord
Trait Implementations
impl KintoRequest for CreateRecord
[src]
fn preparer(&mut self) -> &mut RequestPreparer
fn if_match(&mut self, if_match: IfMatch) -> &mut Self
Set If-Match header.
fn if_none_match(&mut self, if_match: IfNoneMatch) -> &mut Self
Set If-None-Match header.
fn send(&mut self) -> Result<ResponseWrapper, KintoError>
Send the request.