pub struct Responded {
pub body: Value,
pub headers: BTreeMap<String, String>,
}Expand description
A response body and its captured headers.
Hosted and self-managed stacks return the same /api/status body. An
edge-proxy header distinguishes them.
Fields§
§body: Value§headers: BTreeMap<String, String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Responded
impl RefUnwindSafe for Responded
impl Send for Responded
impl Sync for Responded
impl Unpin for Responded
impl UnsafeUnpin for Responded
impl UnwindSafe for Responded
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