Struct elastic::client::responses::CommandResponse
[−]
pub struct CommandResponse { pub acknowledged: bool, }
A standard command acknowledgement response.
Fields
acknowledged: bool
Trait Implementations
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>,
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 Debug for CommandResponse
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.