pub struct ClientSideAvailability {
pub using_mobile_key: bool,
pub using_environment_id: bool,
/* private fields */
}
Expand description
ClientSideAvailability describes whether a flag is available to client-side SDKs.
This field can be used by a server-side client to determine whether to include an individual flag in bootstrapped set of flag data (see Bootstrapping the Javascript SDK).
Fields§
§using_mobile_key: bool
Indicates that this flag is available to clients using the mobile key for authorization (includes most desktop and mobile clients).
using_environment_id: bool
Indicates that this flag is available to clients using the environment id to identify an environment (includes client-side javascript clients).
Trait Implementations§
source§impl Clone for ClientSideAvailability
impl Clone for ClientSideAvailability
source§fn clone(&self) -> ClientSideAvailability
fn clone(&self) -> ClientSideAvailability
Returns a copy 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 ClientSideAvailability
impl Debug for ClientSideAvailability
source§impl<'de> Deserialize<'de> for ClientSideAvailability
impl<'de> Deserialize<'de> for ClientSideAvailability
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