#[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 get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
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 get_type(&self) -> &Option<DeviceAttribute>
pub fn get_type(&self) -> &Option<DeviceAttribute>
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 for IncompatibilityMessageBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for IncompatibilityMessageBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IncompatibilityMessageBuilder
impl Send for IncompatibilityMessageBuilder
impl Sync for IncompatibilityMessageBuilder
impl Unpin for IncompatibilityMessageBuilder
impl UnwindSafe for IncompatibilityMessageBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.