#[non_exhaustive]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 (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.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 (const: unstable) · 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