pub struct WaitArgs {
pub expect: Option<Expectation>,
pub ms: Option<u64>,
pub text: Option<String>,
pub url: Option<String>,
pub load: Option<String>,
pub selector: Option<String>,
pub state: Option<WaitSelectorState>,
pub network_idle: Option<u64>,
pub timeout: Option<u64>,
}Fields§
§expect: Option<Expectation>§ms: Option<u64>§text: Option<String>§url: Option<String>§load: Option<String>§selector: Option<String>§state: Option<WaitSelectorState>§network_idle: Option<u64>§timeout: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for WaitArgs
impl<'de> Deserialize<'de> for WaitArgs
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 JsonSchema for WaitArgs
impl JsonSchema for WaitArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for WaitArgs
impl Freeze for WaitArgswhere
*const u8 is !null: Freeze,
PhantomData<Expectation>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
impl Move for WaitArgs
impl RefUnwindSafe for WaitArgs
impl Send for WaitArgswhere
RawVecInner: Send,
impl Sync for WaitArgswhere
RawVecInner: Sync,
impl Unpin for WaitArgs
impl UnsafeUnpin for WaitArgswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Expectation>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for WaitArgswhere
RawVecInner: UnwindSafe,
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