Struct aws_sdk_xray::model::Http
source · [−]#[non_exhaustive]pub struct Http { /* private fields */ }
Expand description
Information about an HTTP request.
Implementations
sourceimpl Http
impl Http
sourcepub fn http_status(&self) -> Option<i32>
pub fn http_status(&self) -> Option<i32>
The response status.
sourcepub fn http_method(&self) -> Option<&str>
pub fn http_method(&self) -> Option<&str>
The request method.
sourcepub fn user_agent(&self) -> Option<&str>
pub fn user_agent(&self) -> Option<&str>
The request's user agent string.
Trait Implementations
impl StructuralPartialEq for Http
Auto Trait Implementations
impl RefUnwindSafe for Http
impl Send for Http
impl Sync for Http
impl Unpin for Http
impl UnwindSafe for Http
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more