pub struct ModifiedResponse {
pub status: Option<u16>,
pub headers: Option<Vec<Header>>,
pub body: Option<Vec<u8>>,
}Expand description
Mirrors the WIT modified-response record from vane:plugin/handler-l7-response@0.1.0.
Fields§
§status: Option<u16>§headers: Option<Vec<Header>>§body: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for ModifiedResponse
impl Clone for ModifiedResponse
Source§fn clone(&self) -> ModifiedResponse
fn clone(&self) -> ModifiedResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModifiedResponse
impl RefUnwindSafe for ModifiedResponse
impl Send for ModifiedResponse
impl Sync for ModifiedResponse
impl Unpin for ModifiedResponse
impl UnsafeUnpin for ModifiedResponse
impl UnwindSafe for ModifiedResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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