Struct google_firebaseremoteconfig1::RemoteConfigParameter [−][src]
pub struct RemoteConfigParameter { pub default_value: Option<RemoteConfigParameterValue>, pub conditional_values: Option<HashMap<String, RemoteConfigParameterValue>>, pub description: Option<String>, }
While default_value and conditional_values are each optional, at least one of the two is required - otherwise, the parameter is meaningless (and an exception will be thrown by the validation logic).
This type is not used in any activity, and only used as part of another schema.
Fields
default_value: Option<RemoteConfigParameterValue>
Optional - value to set the parameter to, when none of the named conditions
evaluate to true
.
conditional_values: Option<HashMap<String, RemoteConfigParameterValue>>
Optional - a map of (condition_name, value). The condition_name of the highest priority (the one listed first in the conditions array) determines the value of this parameter.
description: Option<String>
Optional. A description for this Parameter. Length must be less than or equal to 100 characters (or more precisely, unicode code points, which is defined in java/com/google/wireless/android/config/ConstsExporter.java). A description may contain any Unicode characters
Trait Implementations
impl Default for RemoteConfigParameter
[src]
impl Default for RemoteConfigParameter
fn default() -> RemoteConfigParameter
[src]
fn default() -> RemoteConfigParameter
Returns the "default value" for a type. Read more
impl Clone for RemoteConfigParameter
[src]
impl Clone for RemoteConfigParameter
fn clone(&self) -> RemoteConfigParameter
[src]
fn clone(&self) -> RemoteConfigParameter
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 RemoteConfigParameter
[src]
impl Debug for RemoteConfigParameter
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 RemoteConfigParameter
[src]
impl Part for RemoteConfigParameter
Auto Trait Implementations
impl Send for RemoteConfigParameter
impl Send for RemoteConfigParameter
impl Sync for RemoteConfigParameter
impl Sync for RemoteConfigParameter