Struct appium_client::capabilities::empty::EmptyCapabilities
source · pub struct EmptyCapabilities { /* private fields */ }
Expand description
Empty capabilities - for use in tests or with a platform not implemented by this lib.
Implementations§
source§impl EmptyCapabilities
impl EmptyCapabilities
sourcepub fn new() -> EmptyCapabilities
pub fn new() -> EmptyCapabilities
Creates new empty capability set
Trait Implementations§
source§impl AppiumCapability for EmptyCapabilities
impl AppiumCapability for EmptyCapabilities
source§fn automation_name(&mut self, automation_name: &str)
fn automation_name(&mut self, automation_name: &str)
Set the automation driver to use (the engine for tests, eg. XCuiTest for iOS). Read more
source§fn platform_version(&mut self, version: &str)
fn platform_version(&mut self, version: &str)
The version of a platform, e.g., for iOS, “16.0”
source§fn device_name(&mut self, device_name: &str)
fn device_name(&mut self, device_name: &str)
The name of a particular device to automate. Read more
source§impl Clone for EmptyCapabilities
impl Clone for EmptyCapabilities
source§fn clone(&self) -> EmptyCapabilities
fn clone(&self) -> EmptyCapabilities
Returns a copy 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 EmptyCapabilities
impl Debug for EmptyCapabilities
source§impl Default for EmptyCapabilities
impl Default for EmptyCapabilities
source§impl Deref for EmptyCapabilities
impl Deref for EmptyCapabilities
source§impl DerefMut for EmptyCapabilities
impl DerefMut for EmptyCapabilities
source§impl From<EmptyCapabilities> for Capabilities
impl From<EmptyCapabilities> for Capabilities
source§fn from(value: EmptyCapabilities) -> Self
fn from(value: EmptyCapabilities) -> Self
Converts to this type from the input type.
source§impl PartialEq for EmptyCapabilities
impl PartialEq for EmptyCapabilities
source§fn eq(&self, other: &EmptyCapabilities) -> bool
fn eq(&self, other: &EmptyCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EmptyCapabilities
impl StructuralEq for EmptyCapabilities
impl StructuralPartialEq for EmptyCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for EmptyCapabilities
impl Send for EmptyCapabilities
impl Sync for EmptyCapabilities
impl Unpin for EmptyCapabilities
impl UnwindSafe for EmptyCapabilities
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