#[non_exhaustive]pub struct IncompatibilityMessageBuilder { /* private fields */ }Expand description
A builder for IncompatibilityMessage.
Implementations§
source§impl IncompatibilityMessageBuilder
impl IncompatibilityMessageBuilder
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message about the incompatibility.
sourcepub fn type(self, input: DeviceAttribute) -> Self
pub fn type(self, input: DeviceAttribute) -> Self
The type of incompatibility.
Allowed values include:
-
ARN
-
FORM_FACTOR (for example, phone or tablet)
-
MANUFACTURER
-
PLATFORM (for example, Android or iOS)
-
REMOTE_ACCESS_ENABLED
-
APPIUM_VERSION
sourcepub fn set_type(self, input: Option<DeviceAttribute>) -> Self
pub fn set_type(self, input: Option<DeviceAttribute>) -> Self
The type of incompatibility.
Allowed values include:
-
ARN
-
FORM_FACTOR (for example, phone or tablet)
-
MANUFACTURER
-
PLATFORM (for example, Android or iOS)
-
REMOTE_ACCESS_ENABLED
-
APPIUM_VERSION
sourcepub fn build(self) -> IncompatibilityMessage
pub fn build(self) -> IncompatibilityMessage
Consumes the builder and constructs a IncompatibilityMessage.
Trait Implementations§
source§impl Clone for IncompatibilityMessageBuilder
impl Clone for IncompatibilityMessageBuilder
source§fn clone(&self) -> IncompatibilityMessageBuilder
fn clone(&self) -> IncompatibilityMessageBuilder
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 Default for IncompatibilityMessageBuilder
impl Default for IncompatibilityMessageBuilder
source§fn default() -> IncompatibilityMessageBuilder
fn default() -> IncompatibilityMessageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IncompatibilityMessageBuilder> for IncompatibilityMessageBuilder
impl PartialEq<IncompatibilityMessageBuilder> for IncompatibilityMessageBuilder
source§fn eq(&self, other: &IncompatibilityMessageBuilder) -> bool
fn eq(&self, other: &IncompatibilityMessageBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.