pub struct AutoInstallConstraint {
pub charging_state_constraint: Option<String>,
pub device_idle_state_constraint: Option<String>,
pub network_type_constraint: Option<String>,
}Expand description
The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
This type is not used in any activity, and only used as part of another schema.
Fields§
§charging_state_constraint: Option<String>Charging state constraint.
device_idle_state_constraint: Option<String>Device idle state constraint.
network_type_constraint: Option<String>Network type constraint.
Trait Implementations§
Source§impl Clone for AutoInstallConstraint
impl Clone for AutoInstallConstraint
Source§fn clone(&self) -> AutoInstallConstraint
fn clone(&self) -> AutoInstallConstraint
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 AutoInstallConstraint
impl Debug for AutoInstallConstraint
Source§impl Default for AutoInstallConstraint
impl Default for AutoInstallConstraint
Source§fn default() -> AutoInstallConstraint
fn default() -> AutoInstallConstraint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoInstallConstraint
impl<'de> Deserialize<'de> for AutoInstallConstraint
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 AutoInstallConstraint
impl Serialize for AutoInstallConstraint
impl Part for AutoInstallConstraint
Auto Trait Implementations§
impl Freeze for AutoInstallConstraint
impl RefUnwindSafe for AutoInstallConstraint
impl Send for AutoInstallConstraint
impl Sync for AutoInstallConstraint
impl Unpin for AutoInstallConstraint
impl UnwindSafe for AutoInstallConstraint
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