pub struct DeviceFeatureTargeting {
pub required_feature: Option<DeviceFeature>,
}Expand description
Targeting for a device feature.
This type is not used in any activity, and only used as part of another schema.
Fields§
§required_feature: Option<DeviceFeature>Feature of the device.
Trait Implementations§
Source§impl Clone for DeviceFeatureTargeting
impl Clone for DeviceFeatureTargeting
Source§fn clone(&self) -> DeviceFeatureTargeting
fn clone(&self) -> DeviceFeatureTargeting
Returns a duplicate 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 DeviceFeatureTargeting
impl Debug for DeviceFeatureTargeting
Source§impl Default for DeviceFeatureTargeting
impl Default for DeviceFeatureTargeting
Source§fn default() -> DeviceFeatureTargeting
fn default() -> DeviceFeatureTargeting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceFeatureTargeting
impl<'de> Deserialize<'de> for DeviceFeatureTargeting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DeviceFeatureTargeting
impl Serialize for DeviceFeatureTargeting
impl Part for DeviceFeatureTargeting
Auto Trait Implementations§
impl Freeze for DeviceFeatureTargeting
impl RefUnwindSafe for DeviceFeatureTargeting
impl Send for DeviceFeatureTargeting
impl Sync for DeviceFeatureTargeting
impl Unpin for DeviceFeatureTargeting
impl UnwindSafe for DeviceFeatureTargeting
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