pub struct UiBrowserScrollRequest {
pub auth: UiAutomationAuth,
pub pane: Option<String>,
pub ref_: Option<String>,
pub dx: Option<f64>,
pub dy: Option<f64>,
}Expand description
POST /api/v1/ui/browser/scroll - backs Browser’s scroll: turn the wheel over a pane’s page by dx and dy CSS pixels
(right and down; negative left and up), or bring the element ref of the last snapshot into view. One of the two.
Fields§
§auth: UiAutomationAuth§pane: Option<String>§ref_: Option<String>§dx: Option<f64>§dy: Option<f64>Trait Implementations§
Source§impl Clone for UiBrowserScrollRequest
impl Clone for UiBrowserScrollRequest
Source§fn clone(&self) -> UiBrowserScrollRequest
fn clone(&self) -> UiBrowserScrollRequest
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 UiBrowserScrollRequest
impl Debug for UiBrowserScrollRequest
Source§impl<'de> Deserialize<'de> for UiBrowserScrollRequest
impl<'de> Deserialize<'de> for UiBrowserScrollRequest
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
Auto Trait Implementations§
impl Freeze for UiBrowserScrollRequest
impl RefUnwindSafe for UiBrowserScrollRequest
impl Send for UiBrowserScrollRequest
impl Sync for UiBrowserScrollRequest
impl Unpin for UiBrowserScrollRequest
impl UnsafeUnpin for UiBrowserScrollRequest
impl UnwindSafe for UiBrowserScrollRequest
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