#[non_exhaustive]pub struct DevicePoolCompatibilityResultBuilder { /* private fields */ }Expand description
A builder for DevicePoolCompatibilityResult.
Implementations§
source§impl DevicePoolCompatibilityResultBuilder
impl DevicePoolCompatibilityResultBuilder
sourcepub fn device(self, input: Device) -> Self
pub fn device(self, input: Device) -> Self
The device (phone or tablet) to return information about.
sourcepub fn set_device(self, input: Option<Device>) -> Self
pub fn set_device(self, input: Option<Device>) -> Self
The device (phone or tablet) to return information about.
sourcepub fn compatible(self, input: bool) -> Self
pub fn compatible(self, input: bool) -> Self
Whether the result was compatible with the device pool.
sourcepub fn set_compatible(self, input: Option<bool>) -> Self
pub fn set_compatible(self, input: Option<bool>) -> Self
Whether the result was compatible with the device pool.
sourcepub fn incompatibility_messages(self, input: IncompatibilityMessage) -> Self
pub fn incompatibility_messages(self, input: IncompatibilityMessage) -> Self
Appends an item to incompatibility_messages.
To override the contents of this collection use set_incompatibility_messages.
Information about the compatibility.
sourcepub fn set_incompatibility_messages(
self,
input: Option<Vec<IncompatibilityMessage>>
) -> Self
pub fn set_incompatibility_messages( self, input: Option<Vec<IncompatibilityMessage>> ) -> Self
Information about the compatibility.
sourcepub fn build(self) -> DevicePoolCompatibilityResult
pub fn build(self) -> DevicePoolCompatibilityResult
Consumes the builder and constructs a DevicePoolCompatibilityResult.
Trait Implementations§
source§impl Clone for DevicePoolCompatibilityResultBuilder
impl Clone for DevicePoolCompatibilityResultBuilder
source§fn clone(&self) -> DevicePoolCompatibilityResultBuilder
fn clone(&self) -> DevicePoolCompatibilityResultBuilder
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 DevicePoolCompatibilityResultBuilder
impl Default for DevicePoolCompatibilityResultBuilder
source§fn default() -> DevicePoolCompatibilityResultBuilder
fn default() -> DevicePoolCompatibilityResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DevicePoolCompatibilityResultBuilder> for DevicePoolCompatibilityResultBuilder
impl PartialEq<DevicePoolCompatibilityResultBuilder> for DevicePoolCompatibilityResultBuilder
source§fn eq(&self, other: &DevicePoolCompatibilityResultBuilder) -> bool
fn eq(&self, other: &DevicePoolCompatibilityResultBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.