pub struct ShapeCtx<'a> {
pub op: OperationKey,
pub stream: bool,
pub status: StatusCode,
pub settings: &'a Value,
}Expand description
Operation and settings available to request/response shaping hooks.
Fields§
§op: OperationKey§stream: bool§status: StatusCode§settings: &'a ValueTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ShapeCtx<'a>
impl<'a> RefUnwindSafe for ShapeCtx<'a>
impl<'a> Send for ShapeCtx<'a>
impl<'a> Sync for ShapeCtx<'a>
impl<'a> Unpin for ShapeCtx<'a>
impl<'a> UnsafeUnpin for ShapeCtx<'a>
impl<'a> UnwindSafe for ShapeCtx<'a>
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