Struct condure::zhttppacket::RequestData
source · pub struct RequestData<'buf, 'headers> {Show 18 fields
pub credits: u32,
pub more: bool,
pub stream: bool,
pub max_size: u32,
pub timeout: u32,
pub method: &'buf str,
pub uri: &'buf str,
pub headers: &'headers [Header<'buf>],
pub content_type: Option<ContentType>,
pub body: &'buf [u8],
pub peer_address: &'buf str,
pub peer_port: u16,
pub connect_host: &'buf str,
pub connect_port: u16,
pub ignore_policies: bool,
pub trust_connect_host: bool,
pub ignore_tls_errors: bool,
pub follow_redirects: bool,
}
Fields§
§credits: u32
§more: bool
§stream: bool
§max_size: u32
§timeout: u32
§method: &'buf str
§uri: &'buf str
§headers: &'headers [Header<'buf>]
§content_type: Option<ContentType>
§body: &'buf [u8]
§peer_address: &'buf str
§peer_port: u16
§connect_host: &'buf str
§connect_port: u16
§ignore_policies: bool
§trust_connect_host: bool
§ignore_tls_errors: bool
§follow_redirects: bool
Implementations§
source§impl RequestData<'_, '_>
impl RequestData<'_, '_>
Auto Trait Implementations§
impl<'buf, 'headers> RefUnwindSafe for RequestData<'buf, 'headers>
impl<'buf, 'headers> Send for RequestData<'buf, 'headers>
impl<'buf, 'headers> Sync for RequestData<'buf, 'headers>
impl<'buf, 'headers> Unpin for RequestData<'buf, 'headers>
impl<'buf, 'headers> UnwindSafe for RequestData<'buf, 'headers>
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