pub struct CheckOptions {
pub force: Option<bool>,
pub position: Option<Position>,
pub timeout: Option<f64>,
pub trial: Option<bool>,
}Expand description
Check options
Configuration options for check() and uncheck() actions.
See: https://playwright.dev/docs/api/class-locator#locator-check
Fields§
§force: Option<bool>Whether to bypass actionability checks
position: Option<Position>Position to click relative to element top-left corner
timeout: Option<f64>Maximum time in milliseconds
trial: Option<bool>Perform actionability checks without checking
Implementations§
Source§impl CheckOptions
impl CheckOptions
Sourcepub fn builder() -> CheckOptionsBuilder
pub fn builder() -> CheckOptionsBuilder
Create a new builder for CheckOptions
Trait Implementations§
Source§impl Clone for CheckOptions
impl Clone for CheckOptions
Source§fn clone(&self) -> CheckOptions
fn clone(&self) -> CheckOptions
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 CheckOptions
impl Debug for CheckOptions
Source§impl Default for CheckOptions
impl Default for CheckOptions
Source§fn default() -> CheckOptions
fn default() -> CheckOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckOptions
impl RefUnwindSafe for CheckOptions
impl Send for CheckOptions
impl Sync for CheckOptions
impl Unpin for CheckOptions
impl UnsafeUnpin for CheckOptions
impl UnwindSafe for CheckOptions
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