pub struct TlsForwardSolution {
pub status: u16,
pub code: u16,
pub headers: BTreeMap<String, Value>,
pub cookies: HashMap<String, Value>,
pub body: String,
pub extra: BTreeMap<String, Value>,
}Expand description
TLS forwarding response.
Fields§
§status: u16Worker response status.
code: u16Upstream HTTP status code.
headers: BTreeMap<String, Value>Upstream response headers.
Upstream response cookies.
body: StringUpstream response body.
extra: BTreeMap<String, Value>Additional worker fields.
Implementations§
Source§impl TlsForwardSolution
impl TlsForwardSolution
pub fn serialize<__S>(
__self: &TlsForwardSolution,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> TlsForwardSolution
impl<'de> TlsForwardSolution
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<TlsForwardSolution, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for TlsForwardSolution
impl Clone for TlsForwardSolution
Source§impl Debug for TlsForwardSolution
impl Debug for TlsForwardSolution
Source§impl<'de> Deserialize<'de> for TlsForwardSolution
impl<'de> Deserialize<'de> for TlsForwardSolution
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TlsForwardSolution
impl PartialEq for TlsForwardSolution
Source§impl Serialize for TlsForwardSolution
impl Serialize for TlsForwardSolution
impl StructuralPartialEq for TlsForwardSolution
Auto Trait Implementations§
impl Freeze for TlsForwardSolution
impl RefUnwindSafe for TlsForwardSolution
impl Send for TlsForwardSolution
impl Sync for TlsForwardSolution
impl Unpin for TlsForwardSolution
impl UnsafeUnpin for TlsForwardSolution
impl UnwindSafe for TlsForwardSolution
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