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

The boolean value - this will only be present if type of the property is bool.

The unique key that identifies the property.

The list of bundles of properties - this will only be present if type of the property is bundle_array.

The integer value - this will only be present if type of the property is integer.

The bundle of managed properties - this will only be present if type of the property is bundle.

The list of string values - this will only be present if type of the property is multiselect.

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]

Returns the "default value" for a type. Read more

impl Clone for ManagedProperty
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ManagedProperty
[src]

Formats the value using the given formatter.

impl Part for ManagedProperty
[src]