pub struct HttpGetResult {
pub remote_ip: [u8; 4],
pub local_port: u16,
pub status_code: u16,
pub reason: String,
pub headers: BTreeMap<String, String>,
pub body: String,
}Fields§
§remote_ip: [u8; 4]§local_port: u16§status_code: u16§reason: String§headers: BTreeMap<String, String>§body: StringAuto Trait Implementations§
impl Freeze for HttpGetResult
impl RefUnwindSafe for HttpGetResult
impl Send for HttpGetResult
impl Sync for HttpGetResult
impl Unpin for HttpGetResult
impl UnsafeUnpin for HttpGetResult
impl UnwindSafe for HttpGetResult
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