pub struct SelectOptions {
pub force: Option<bool>,
pub timeout: Option<f64>,
}Expand description
Select options
Configuration options for select_option() action.
See: https://playwright.dev/docs/api/class-locator#locator-select-option
Fields§
§force: Option<bool>Whether to bypass actionability checks
timeout: Option<f64>Maximum time in milliseconds
Implementations§
Source§impl SelectOptions
impl SelectOptions
Sourcepub fn builder() -> SelectOptionsBuilder
pub fn builder() -> SelectOptionsBuilder
Create a new builder for SelectOptions
Trait Implementations§
Source§impl Clone for SelectOptions
impl Clone for SelectOptions
Source§fn clone(&self) -> SelectOptions
fn clone(&self) -> SelectOptions
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 SelectOptions
impl Debug for SelectOptions
Source§impl Default for SelectOptions
impl Default for SelectOptions
Source§fn default() -> SelectOptions
fn default() -> SelectOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectOptions
impl RefUnwindSafe for SelectOptions
impl Send for SelectOptions
impl Sync for SelectOptions
impl Unpin for SelectOptions
impl UnsafeUnpin for SelectOptions
impl UnwindSafe for SelectOptions
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