pub struct SynthResponse {
pub status: u16,
pub headers: Vec<Header>,
pub body: Vec<u8>,
}Expand description
Mirrors the WIT synth-response record from vane:plugin/handler-l7-request@0.1.0.
Fields§
§status: u16§headers: Vec<Header>§body: Vec<u8>Trait Implementations§
Source§impl Clone for SynthResponse
impl Clone for SynthResponse
Source§fn clone(&self) -> SynthResponse
fn clone(&self) -> SynthResponse
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 SynthResponse
impl RefUnwindSafe for SynthResponse
impl Send for SynthResponse
impl Sync for SynthResponse
impl Unpin for SynthResponse
impl UnsafeUnpin for SynthResponse
impl UnwindSafe for SynthResponse
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