#[non_exhaustive]pub struct WebDetectionParams {
pub include_geo_results: bool,
/* private fields */
}Expand description
Parameters for web detection request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_geo_results: bool👎Deprecated
This field has no effect on results.
Implementations§
Source§impl WebDetectionParams
impl WebDetectionParams
pub fn new() -> Self
Sourcepub fn set_include_geo_results<T: Into<bool>>(self, v: T) -> Self
👎Deprecated
pub fn set_include_geo_results<T: Into<bool>>(self, v: T) -> Self
Sets the value of include_geo_results.
Trait Implementations§
Source§impl Clone for WebDetectionParams
impl Clone for WebDetectionParams
Source§fn clone(&self) -> WebDetectionParams
fn clone(&self) -> WebDetectionParams
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 WebDetectionParams
impl Debug for WebDetectionParams
Source§impl Default for WebDetectionParams
impl Default for WebDetectionParams
Source§fn default() -> WebDetectionParams
fn default() -> WebDetectionParams
Returns the “default value” for a type. Read more
Source§impl Message for WebDetectionParams
impl Message for WebDetectionParams
Source§impl PartialEq for WebDetectionParams
impl PartialEq for WebDetectionParams
impl StructuralPartialEq for WebDetectionParams
Auto Trait Implementations§
impl Freeze for WebDetectionParams
impl RefUnwindSafe for WebDetectionParams
impl Send for WebDetectionParams
impl Sync for WebDetectionParams
impl Unpin for WebDetectionParams
impl UnwindSafe for WebDetectionParams
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