pub struct RootResponse {
pub service: String,
pub version: String,
pub endpoints: BTreeMap<String, String>,
}Expand description
Response shape for the root / endpoint: a service banner plus a map of
available endpoints to their human-readable descriptions.
Fields§
§service: String§version: String§endpoints: BTreeMap<String, String>Trait Implementations§
Source§impl Debug for RootResponse
impl Debug for RootResponse
Source§impl<'de> Deserialize<'de> for RootResponse
impl<'de> Deserialize<'de> for RootResponse
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 RootResponse
impl RefUnwindSafe for RootResponse
impl Send for RootResponse
impl Sync for RootResponse
impl Unpin for RootResponse
impl UnsafeUnpin for RootResponse
impl UnwindSafe for RootResponse
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