pub struct RequestInfo<'device> {
pub route: &'device str,
pub description: Option<&'device str>,
pub rest_kind: RestKind,
pub hazards: &'device Hazards,
pub parameters_data: &'device ParametersData,
pub response_kind: ResponseKind,
}Expand description
Request information.
Each request is identified by the data of its associated route and the corresponding response.
Fields§
§route: &'device strRoute name.
description: Option<&'device str>Route description.
rest_kind: RestKindRest kind.
hazards: &'device HazardsRoute hazards.
parameters_data: &'device ParametersDataParameters data.
If the request has no parameters, the reference will be empty.
response_kind: ResponseKindResponse kind.
Auto Trait Implementations§
impl<'device> Freeze for RequestInfo<'device>
impl<'device> RefUnwindSafe for RequestInfo<'device>
impl<'device> Send for RequestInfo<'device>
impl<'device> Sync for RequestInfo<'device>
impl<'device> Unpin for RequestInfo<'device>
impl<'device> UnwindSafe for RequestInfo<'device>
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