pub struct DetectChallengeHints {
pub region: Option<ChallengeRegion>,
pub timeout_ms: u64,
}Fields§
§region: Option<ChallengeRegion>Restrict classification to a page region (CSS pixels, viewport-relative).
timeout_ms: u64Deadline for the whole detection, including provider retries.
Trait Implementations§
Source§impl Clone for DetectChallengeHints
impl Clone for DetectChallengeHints
Source§impl Debug for DetectChallengeHints
impl Debug for DetectChallengeHints
Source§impl Default for DetectChallengeHints
impl Default for DetectChallengeHints
Source§impl<'de> Deserialize<'de> for DetectChallengeHints
impl<'de> Deserialize<'de> for DetectChallengeHints
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
Source§impl PartialEq for DetectChallengeHints
impl PartialEq for DetectChallengeHints
Source§impl Serialize for DetectChallengeHints
impl Serialize for DetectChallengeHints
impl StructuralPartialEq for DetectChallengeHints
Auto Trait Implementations§
impl Freeze for DetectChallengeHints
impl RefUnwindSafe for DetectChallengeHints
impl Send for DetectChallengeHints
impl Sync for DetectChallengeHints
impl Unpin for DetectChallengeHints
impl UnsafeUnpin for DetectChallengeHints
impl UnwindSafe for DetectChallengeHints
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