Struct google_androidenterprise1::ManagedProperty [−][src]
pub struct ManagedProperty { pub value_bool: Option<bool>, pub key: Option<String>, pub value_bundle_array: Option<Vec<ManagedPropertyBundle>>, pub value_integer: Option<i32>, pub value_bundle: Option<ManagedPropertyBundle>, pub value_string_array: Option<Vec<String>>, pub value_string: Option<String>, }
A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
This type is not used in any activity, and only used as part of another schema.
Fields
value_bool: Option<bool>
The boolean value - this will only be present if type of the property is bool.
key: Option<String>
The unique key that identifies the property.
value_bundle_array: Option<Vec<ManagedPropertyBundle>>
The list of bundles of properties - this will only be present if type of the property is bundle_array.
value_integer: Option<i32>
The integer value - this will only be present if type of the property is integer.
value_bundle: Option<ManagedPropertyBundle>
The bundle of managed properties - this will only be present if type of the property is bundle.
value_string_array: Option<Vec<String>>
The list of string values - this will only be present if type of the property is multiselect.
value_string: Option<String>
The string value - this will only be present if type of the property is string, choice or hidden.
Trait Implementations
impl Default for ManagedProperty
[src]
impl Default for ManagedProperty
fn default() -> ManagedProperty
[src]
fn default() -> ManagedProperty
Returns the "default value" for a type. Read more
impl Clone for ManagedProperty
[src]
impl Clone for ManagedProperty
fn clone(&self) -> ManagedProperty
[src]
fn clone(&self) -> ManagedProperty
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ManagedProperty
[src]
impl Debug for ManagedProperty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ManagedProperty
[src]
impl Part for ManagedProperty
Auto Trait Implementations
impl Send for ManagedProperty
impl Send for ManagedProperty
impl Sync for ManagedProperty
impl Sync for ManagedProperty