pub struct PingResponse {
pub kind: String,
pub name: String,
pub id: String,
pub version: String,
pub metadata: HashMap<String, String>,
}
Available on crate feature
service
only.Expand description
Response for PING
requests.
Fields§
§kind: String
Response type.
name: String
Service name.
id: String
Service id.
version: String
Service version.
metadata: HashMap<String, String>
Additional metadata
Trait Implementations§
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
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