Struct google_androidenterprise1::AppRestrictionsSchemaRestrictionRestrictionValue [−][src]
pub struct AppRestrictionsSchemaRestrictionRestrictionValue { pub value_bool: Option<bool>, pub value_integer: Option<i32>, pub type_: Option<String>, pub value_multiselect: Option<Vec<String>>, pub value_string: Option<String>, }
A typed value for the restriction.
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 is bool.
value_integer: Option<i32>
The integer value - this will only be present if type is integer.
type_: Option<String>
The type of the value being provided.
value_multiselect: Option<Vec<String>>
The list of string values - this will only be present if type is multiselect.
value_string: Option<String>
The string value - this will be present for types string, choice and hidden.
Trait Implementations
impl Default for AppRestrictionsSchemaRestrictionRestrictionValue
[src]
impl Default for AppRestrictionsSchemaRestrictionRestrictionValue
fn default() -> AppRestrictionsSchemaRestrictionRestrictionValue
[src]
fn default() -> AppRestrictionsSchemaRestrictionRestrictionValue
Returns the "default value" for a type. Read more
impl Clone for AppRestrictionsSchemaRestrictionRestrictionValue
[src]
impl Clone for AppRestrictionsSchemaRestrictionRestrictionValue
fn clone(&self) -> AppRestrictionsSchemaRestrictionRestrictionValue
[src]
fn clone(&self) -> AppRestrictionsSchemaRestrictionRestrictionValue
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AppRestrictionsSchemaRestrictionRestrictionValue
[src]
impl Debug for AppRestrictionsSchemaRestrictionRestrictionValue
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 AppRestrictionsSchemaRestrictionRestrictionValue
[src]
impl Part for AppRestrictionsSchemaRestrictionRestrictionValue