pub struct ModuleRequest<Body = Bytes> {
pub action: String,
pub body: Body,
}
Fields§
§action: String
§body: Body
Implementations§
Auto Trait Implementations§
impl<Body> Freeze for ModuleRequest<Body>where
Body: Freeze,
impl<Body> RefUnwindSafe for ModuleRequest<Body>where
Body: RefUnwindSafe,
impl<Body> Send for ModuleRequest<Body>where
Body: Send,
impl<Body> Sync for ModuleRequest<Body>where
Body: Sync,
impl<Body> Unpin for ModuleRequest<Body>where
Body: Unpin,
impl<Body> UnwindSafe for ModuleRequest<Body>where
Body: UnwindSafe,
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