pub struct AutoInstallPolicy {
pub auto_install_constraint: Option<Vec<AutoInstallConstraint>>,
pub auto_install_mode: Option<String>,
pub auto_install_priority: Option<i32>,
pub minimum_version_code: Option<i32>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§auto_install_constraint: Option<Vec<AutoInstallConstraint>>The constraints for auto-installing the app. You can specify a maximum of one constraint.
auto_install_mode: Option<String>The auto-install mode. If unset, defaults to “doNotAutoInstall”. An app is automatically installed regardless of a set maintenance window.
auto_install_priority: Option<i32>The priority of the install, as an unsigned integer. A lower number means higher priority.
minimum_version_code: Option<i32>The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
Trait Implementations§
Source§impl Clone for AutoInstallPolicy
impl Clone for AutoInstallPolicy
Source§fn clone(&self) -> AutoInstallPolicy
fn clone(&self) -> AutoInstallPolicy
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 AutoInstallPolicy
impl Debug for AutoInstallPolicy
Source§impl Default for AutoInstallPolicy
impl Default for AutoInstallPolicy
Source§fn default() -> AutoInstallPolicy
fn default() -> AutoInstallPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoInstallPolicy
impl<'de> Deserialize<'de> for AutoInstallPolicy
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 AutoInstallPolicy
impl Serialize for AutoInstallPolicy
impl Part for AutoInstallPolicy
Auto Trait Implementations§
impl Freeze for AutoInstallPolicy
impl RefUnwindSafe for AutoInstallPolicy
impl Send for AutoInstallPolicy
impl Sync for AutoInstallPolicy
impl Unpin for AutoInstallPolicy
impl UnwindSafe for AutoInstallPolicy
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