pub struct EndpointMap {
pub types: &'static [&'static NamedType],
pub endpoints: &'static [(&'static str, Key, Key)],
}
Expand description
An overview of a list of endpoints
Typically generated by the endpoints!()
macro. Contains a list of
all unique types used by a list of endpoints, as well as the list of these
endpoints by path, request key, and response key
Fields§
§types: &'static [&'static NamedType]
The set of unique types used by all endpoints in this map
endpoints: &'static [(&'static str, Key, Key)]
The list of endpoints by path string, request key, and response key
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndpointMap
impl RefUnwindSafe for EndpointMap
impl Send for EndpointMap
impl Sync for EndpointMap
impl Unpin for EndpointMap
impl UnwindSafe for EndpointMap
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