[−][src]Enum webdriver::command::NewSessionParameters
Wrapper around the two supported variants of new session paramters.
The Spec variant is used for storing spec-compliant parameters whereas
the legacy variant is used to store desiredCapabilities
/requiredCapabilities
parameters, and is intended to minimise breakage as we transition users to
the spec design.
Variants
Spec(SpecNewSessionParameters)
Legacy(LegacyNewSessionParameters)
Trait Implementations
impl CapabilitiesMatching for NewSessionParameters
[src]
fn match_browser<T: BrowserCapabilities>(
&self,
browser_capabilities: &mut T
) -> WebDriverResult<Option<Capabilities>>
[src]
&self,
browser_capabilities: &mut T
) -> WebDriverResult<Option<Capabilities>>
impl Debug for NewSessionParameters
[src]
impl<'de> Deserialize<'de> for NewSessionParameters
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<NewSessionParameters> for NewSessionParameters
[src]
fn eq(&self, other: &NewSessionParameters) -> bool
[src]
fn ne(&self, other: &NewSessionParameters) -> bool
[src]
impl StructuralPartialEq for NewSessionParameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for NewSessionParameters
impl Send for NewSessionParameters
impl Sync for NewSessionParameters
impl Unpin for NewSessionParameters
impl UnwindSafe for NewSessionParameters
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,