pub struct RequestSpec {
pub route: Route,
pub payload: Value,
pub priority: Priority,
pub on_response: Option<ResponseAdapter>,
pub response_context: Option<Value>,
}Fields§
§route: Route§payload: Value§priority: Priority§on_response: Option<ResponseAdapter>§response_context: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RequestSpec
impl RefUnwindSafe for RequestSpec
impl Send for RequestSpec
impl Sync for RequestSpec
impl Unpin for RequestSpec
impl UnwindSafe for RequestSpec
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