pub struct RemoteConfigParameterValue {
pub value: Option<String>,
pub use_in_app_default: Option<bool>,
}Expand description
A RemoteConfigParameter’s “value” (either the default value, or the value
associated with a condition name) is either a string, or the
“use_in_app_default” indicator (which means to leave out the parameter from
the returned <key, value> map that is the output of the parameter fetch).
We represent the “use_in_app_default” as a bool, but (when using the boolean
instead of the string) it should always be true.
This type is not used in any activity, and only used as part of another schema.
Fields§
§value: Option<String>the string to set the parameter to
use_in_app_default: Option<bool>if true, omit the parameter from the map of fetched parameter values
Trait Implementations§
Source§impl Clone for RemoteConfigParameterValue
impl Clone for RemoteConfigParameterValue
Source§fn clone(&self) -> RemoteConfigParameterValue
fn clone(&self) -> RemoteConfigParameterValue
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 RemoteConfigParameterValue
impl Debug for RemoteConfigParameterValue
Source§impl Default for RemoteConfigParameterValue
impl Default for RemoteConfigParameterValue
Source§fn default() -> RemoteConfigParameterValue
fn default() -> RemoteConfigParameterValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteConfigParameterValue
impl<'de> Deserialize<'de> for RemoteConfigParameterValue
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
impl Part for RemoteConfigParameterValue
Auto Trait Implementations§
impl Freeze for RemoteConfigParameterValue
impl RefUnwindSafe for RemoteConfigParameterValue
impl Send for RemoteConfigParameterValue
impl Sync for RemoteConfigParameterValue
impl Unpin for RemoteConfigParameterValue
impl UnwindSafe for RemoteConfigParameterValue
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