pub struct EndpointMapping {
pub path: String,
pub method: Method,
pub query_params: HashMap<String, String>,
pub response_path: Option<String>,
pub id_field: Option<String>,
}Expand description
Mapping configuration for REST endpoints
Fields§
§path: String§method: Method§query_params: HashMap<String, String>§response_path: Option<String>§id_field: Option<String>Trait Implementations§
Source§impl Clone for EndpointMapping
impl Clone for EndpointMapping
Source§fn clone(&self) -> EndpointMapping
fn clone(&self) -> EndpointMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EndpointMapping
impl RefUnwindSafe for EndpointMapping
impl Send for EndpointMapping
impl Sync for EndpointMapping
impl Unpin for EndpointMapping
impl UnwindSafe for EndpointMapping
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