pub struct LinkCheckConfig {
pub json_pointer: String,
pub required_contains: Option<String>,
pub tls_pin: Option<TlsPinConfig>,
pub allowed_domains: Option<Vec<String>>,
pub content_check: Option<ContentCheck>,
pub verify_digest: Option<DigestConfig>,
pub timeout_secs: Option<u64>,
pub max_retries: Option<u32>,
pub cache_ttl_secs: Option<u64>,
}Fields§
§json_pointer: String§required_contains: Option<String>§tls_pin: Option<TlsPinConfig>§allowed_domains: Option<Vec<String>>§content_check: Option<ContentCheck>§verify_digest: Option<DigestConfig>§timeout_secs: Option<u64>§max_retries: Option<u32>§cache_ttl_secs: Option<u64>Trait Implementations§
Source§impl Clone for LinkCheckConfig
impl Clone for LinkCheckConfig
Source§fn clone(&self) -> LinkCheckConfig
fn clone(&self) -> LinkCheckConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LinkCheckConfig
impl Debug for LinkCheckConfig
Source§impl<'de> Deserialize<'de> for LinkCheckConfig
impl<'de> Deserialize<'de> for LinkCheckConfig
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 LinkCheckConfig
impl RefUnwindSafe for LinkCheckConfig
impl Send for LinkCheckConfig
impl Sync for LinkCheckConfig
impl Unpin for LinkCheckConfig
impl UnsafeUnpin for LinkCheckConfig
impl UnwindSafe for LinkCheckConfig
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