pub struct ResponseContent {
pub status: StatusCode,
pub message: String,
pub content: String,
}Expand description
HTTP response error details.
Contains status code, optional message, and response body content for detailed error analysis and debugging.
Fields§
§status: StatusCodeHTTP status code
message: StringAdditional error context message
content: StringRaw response body content
Trait Implementations§
Source§impl Clone for ResponseContent
impl Clone for ResponseContent
Source§fn clone(&self) -> ResponseContent
fn clone(&self) -> ResponseContent
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 moreAuto Trait Implementations§
impl Freeze for ResponseContent
impl RefUnwindSafe for ResponseContent
impl Send for ResponseContent
impl Sync for ResponseContent
impl Unpin for ResponseContent
impl UnsafeUnpin for ResponseContent
impl UnwindSafe for ResponseContent
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