pub struct Endpoint {
pub method: Method,
pub path: Vec<Path>,
pub query_params: Vec<Variable>,
pub request_type: Option<String>,
pub response_type: Option<String>,
}
Fields§
§method: Method
§path: Vec<Path>
§query_params: Vec<Variable>
§request_type: Option<String>
§response_type: Option<String>
Trait Implementations§
Source§impl PartialOrd for Endpoint
impl PartialOrd for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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