pub struct PingResponse { /* private fields */ }
Expand description
Response for a cluster ping request.
Implementations§
Trait Implementations§
Source§impl Debug for PingResponse
impl Debug for PingResponse
Source§impl<'de> Deserialize<'de> for PingResponse
impl<'de> Deserialize<'de> for PingResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl IsOk for PingResponse
impl IsOk for PingResponse
Source§fn is_ok<B: ResponseBody>(
head: HttpResponseHead,
body: Unbuffered<B>,
) -> Result<MaybeOkResponse<B>, ParseResponseError>
fn is_ok<B: ResponseBody>( head: HttpResponseHead, body: Unbuffered<B>, ) -> Result<MaybeOkResponse<B>, ParseResponseError>
Inspect the http response to determine whether or not it succeeded.
Auto Trait Implementations§
impl Freeze for PingResponse
impl RefUnwindSafe for PingResponse
impl Send for PingResponse
impl Sync for PingResponse
impl Unpin for PingResponse
impl UnwindSafe for PingResponse
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