async fn send_raw(
            &self,
            client: &Client,
        ) -> Result<Client::Response, ApiError<Client::Response>> {
            let rel_path = self.rel_path();
            let req = self.modify(client.request_builder(Self::METHOD, &rel_path))?;
            let resp = client.make_request(req).await?;
            if resp.status().is_success() {
                Ok(resp)
            } else {
                Err(ApiError::Failure(
                    rel_path.into_owned(),
                    resp.status(),
                    Mutex::new(resp),
                ))
            }
        }
/// Convenience method for returning a raw response after sending a request.
Convenience method for returning a raw response after sending a request.
Convenience method for returning a raw response after sending a request .
async fn send_raw(
            &self,
            client: &Client,
        ) -> Result<Client::Response, ApiError<Client::Response>> {
            let rel_path = self.rel_path();
            let req = self.modify(client.request_builder(Self::METHOD, &rel_path))?;
            let resp = client.make_request(req).await?;
            if resp.status().is_success() {
                Ok(resp)
            } else {
                Err(ApiError::Failure(
                    rel_path.into_owned(),
                    resp.status(),
                    Mutex::new(resp),
                ))
            }
        }
async fn send_raw ( & self , client : & Client , ) -> Result < Client :: Response , ApiError < Client :: Response > > { let rel_path = self . rel_path ( ) ; let req = self . modify ( client . request_builder ( Self :: METHOD , & rel_path ) ) ? ; let resp = client . make_request ( req ) . await ? ; if resp . status ( ) . is_success ( ) { Ok ( resp ) } else { Err ( ApiError :: Failure ( rel_path . into_owned ( ) , resp . status ( ) , Mutex :: new ( resp ) , ) ) } }
Convenience method for returning a raw response after sending a request.
Convenience method for returning a raw response after sending a request .
&self
client
&Client