pub struct InjectFieldMiddleware {
pub field: String,
pub value: Value,
}Expand description
Middleware that adds a field to every args object.
Fields§
§field: String§value: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InjectFieldMiddleware
impl RefUnwindSafe for InjectFieldMiddleware
impl Send for InjectFieldMiddleware
impl Sync for InjectFieldMiddleware
impl Unpin for InjectFieldMiddleware
impl UnsafeUnpin for InjectFieldMiddleware
impl UnwindSafe for InjectFieldMiddleware
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