pub struct RestRequest {
pub method: String,
pub path: String,
}Expand description
Simplified HTTP request representation
For MVP testing purposes. Full implementation will use proper HTTP types.
Fields§
§method: StringHTTP method (GET, POST, etc.)
path: StringRequest path
Trait Implementations§
Source§impl Clone for RestRequest
impl Clone for RestRequest
Source§fn clone(&self) -> RestRequest
fn clone(&self) -> RestRequest
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 RestRequest
impl RefUnwindSafe for RestRequest
impl Send for RestRequest
impl Sync for RestRequest
impl Unpin for RestRequest
impl UnwindSafe for RestRequest
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