Struct lychee_lib::ResponseBody
source · pub struct ResponseBody {
pub uri: Uri,
pub status: Status,
}Expand description
Encapsulates the state of a URI check
Fields§
§uri: UriThe URI which was checked
status: StatusThe status of the check
Trait Implementations§
source§impl Debug for ResponseBody
impl Debug for ResponseBody
source§impl Display for ResponseBody
impl Display for ResponseBody
source§impl Hash for ResponseBody
impl Hash for ResponseBody
source§impl PartialEq for ResponseBody
impl PartialEq for ResponseBody
source§fn eq(&self, other: &ResponseBody) -> bool
fn eq(&self, other: &ResponseBody) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ResponseBody
impl Serialize for ResponseBody
impl Eq for ResponseBody
impl StructuralPartialEq for ResponseBody
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseBody
impl Send for ResponseBody
impl Sync for ResponseBody
impl Unpin for ResponseBody
impl !UnwindSafe for ResponseBody
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.