pub struct HttpValidation {
pub http_reachable: bool,
pub https_reachable: bool,
pub http_status: Option<u16>,
pub https_status: Option<u16>,
pub redirects_to_https: bool,
pub response_time_ms: u128,
}Available on crate feature
domain-validator-mobile only.Fields§
§http_reachable: bool§https_reachable: bool§http_status: Option<u16>§https_status: Option<u16>§redirects_to_https: bool§response_time_ms: u128Trait Implementations§
Source§impl Clone for HttpValidation
impl Clone for HttpValidation
Source§fn clone(&self) -> HttpValidation
fn clone(&self) -> HttpValidation
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 moreSource§impl Debug for HttpValidation
impl Debug for HttpValidation
Source§impl<'de> Deserialize<'de> for HttpValidation
impl<'de> Deserialize<'de> for HttpValidation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HttpValidation
impl RefUnwindSafe for HttpValidation
impl Send for HttpValidation
impl Sync for HttpValidation
impl Unpin for HttpValidation
impl UnsafeUnpin for HttpValidation
impl UnwindSafe for HttpValidation
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