pub struct EgressRequest {
pub method: String,
pub url: String,
pub headers: Vec<(String, String)>,
pub body_b64: Option<String>,
}Expand description
An outbound HTTP request whip constructed in full, with sentinels at the marked slots. The custodian substitutes and egresses; it never chooses any part of this.
Fields§
§method: String§url: String§headers: Vec<(String, String)>§body_b64: Option<String>Base64 of the body bytes, absent for bodiless requests. Base64 rather than a string so binary bodies survive the wire; sentinels inside a body are found after decoding.
Trait Implementations§
Source§impl Clone for EgressRequest
impl Clone for EgressRequest
Source§fn clone(&self) -> EgressRequest
fn clone(&self) -> EgressRequest
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 moreSource§impl Debug for EgressRequest
impl Debug for EgressRequest
Source§impl<'de> Deserialize<'de> for EgressRequest
impl<'de> Deserialize<'de> for EgressRequest
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
impl Eq for EgressRequest
Source§impl PartialEq for EgressRequest
impl PartialEq for EgressRequest
Source§impl Serialize for EgressRequest
impl Serialize for EgressRequest
impl StructuralPartialEq for EgressRequest
Auto Trait Implementations§
impl Freeze for EgressRequest
impl RefUnwindSafe for EgressRequest
impl Send for EgressRequest
impl Sync for EgressRequest
impl Unpin for EgressRequest
impl UnsafeUnpin for EgressRequest
impl UnwindSafe for EgressRequest
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