pub struct Request {
pub method: String,
pub path: String,
pub action: Option<String>,
pub arguments: Vec<(String, String)>,
pub authorized: bool,
}Expand description
A request the simulator got.
Fields§
§method: String§path: String§action: Option<String>The action, for action calls.
arguments: Vec<(String, String)>The input arguments, for action calls.
Whether the request carried valid credentials.
Trait Implementations§
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Forget for Request
impl Freeze for Request
impl Move for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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