Struct elastic::client::responses::prelude::CommandResponse
[−]
pub struct CommandResponse { /* fields omitted */ }
A standard command acknowledgement response.
Methods
impl CommandResponse
pub fn acknowledged(&self) -> bool
Whether or not the request was acknowledged.
This doesn't necessarily mean the request has been fully processed.
Trait Implementations
impl IsOk for CommandResponse
fn is_ok<B>(
head: HttpResponseHead,
body: Unbuffered<B>
) -> Result<MaybeOkResponse<B>, ParseResponseError> where
B: ResponseBody,
head: HttpResponseHead,
body: Unbuffered<B>
) -> Result<MaybeOkResponse<B>, ParseResponseError> where
B: ResponseBody,
Inspect the http response to determine whether or not it succeeded.
impl<'de> Deserialize<'de> for CommandResponse
fn deserialize<__D>(
__deserializer: __D
) -> Result<CommandResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<CommandResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for CommandResponse
fn clone(&self) -> CommandResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more