pub struct DeviceTierSet {
pub device_tiers: Option<Vec<DeviceTier>>,
}Expand description
A set of device tiers. A tier set determines what variation of app content gets served to a specific device, for device-targeted content. You should assign a priority level to each tier, which determines the ordering by which they are evaluated by Play. See the documentation of DeviceTier.level for more details.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_tiers: Option<Vec<DeviceTier>>Device tiers belonging to the set.
Trait Implementations§
Source§impl Clone for DeviceTierSet
impl Clone for DeviceTierSet
Source§fn clone(&self) -> DeviceTierSet
fn clone(&self) -> DeviceTierSet
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 DeviceTierSet
impl Debug for DeviceTierSet
Source§impl Default for DeviceTierSet
impl Default for DeviceTierSet
Source§fn default() -> DeviceTierSet
fn default() -> DeviceTierSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceTierSet
impl<'de> Deserialize<'de> for DeviceTierSet
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 DeviceTierSet
impl Serialize for DeviceTierSet
impl Part for DeviceTierSet
Auto Trait Implementations§
impl Freeze for DeviceTierSet
impl RefUnwindSafe for DeviceTierSet
impl Send for DeviceTierSet
impl Sync for DeviceTierSet
impl Unpin for DeviceTierSet
impl UnwindSafe for DeviceTierSet
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