Struct CapabilitiesResponse
pub struct CapabilitiesResponse {
pub server: &'static str,
pub version: &'static str,
pub preferred_rest_style: &'static str,
pub supported_routes: Vec<String>,
pub routes: &'static [RestRoute],
}Fields§
§server: &'static str§version: &'static str§preferred_rest_style: &'static str§supported_routes: Vec<String>§routes: &'static [RestRoute]Trait Implementations§
§impl Debug for CapabilitiesResponse
impl Debug for CapabilitiesResponse
§impl Serialize for CapabilitiesResponse
impl Serialize for CapabilitiesResponse
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CapabilitiesResponse
impl RefUnwindSafe for CapabilitiesResponse
impl Send for CapabilitiesResponse
impl Sync for CapabilitiesResponse
impl Unpin for CapabilitiesResponse
impl UnsafeUnpin for CapabilitiesResponse
impl UnwindSafe for CapabilitiesResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more