pub struct LineHttpError {
pub status: u16,
pub http_response_body: Option<String>,
}
Fields§
§status: u16
§http_response_body: Option<String>
Implementations§
Source§impl LineHttpError
impl LineHttpError
pub fn new(status: u16, http_response_body: String) -> LineHttpError
Trait Implementations§
Source§impl Clone for LineHttpError
impl Clone for LineHttpError
Source§fn clone(&self) -> LineHttpError
fn clone(&self) -> LineHttpError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LineHttpError
impl Debug for LineHttpError
Source§impl From<LineHttpError> for LineError
impl From<LineHttpError> for LineError
Source§fn from(value: LineHttpError) -> Self
fn from(value: LineHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LineHttpError
impl RefUnwindSafe for LineHttpError
impl Send for LineHttpError
impl Sync for LineHttpError
impl Unpin for LineHttpError
impl UnwindSafe for LineHttpError
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