pub struct Targeting {
pub all_users: Option<AllUsers>,
pub android_sdks: Option<AndroidSdks>,
pub regions: Option<Regions>,
pub version_list: Option<AppVersionList>,
pub version_range: Option<AppVersionRange>,
}Expand description
Targeting details for a recovery action such as regions, android sdk levels, app versions etc.
This type is not used in any activity, and only used as part of another schema.
Fields§
§all_users: Option<AllUsers>All users are targeted.
android_sdks: Option<AndroidSdks>Targeting is based on android api levels of devices.
regions: Option<Regions>Targeting is based on the user account region.
version_list: Option<AppVersionList>Target version codes as a list.
version_range: Option<AppVersionRange>Target version codes as a range.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Targeting
impl<'de> Deserialize<'de> for Targeting
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
impl Part for Targeting
Auto Trait Implementations§
impl Freeze for Targeting
impl RefUnwindSafe for Targeting
impl Send for Targeting
impl Sync for Targeting
impl Unpin for Targeting
impl UnwindSafe for Targeting
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