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
Auto Trait Implementations§
impl Freeze for ClientSideAvailability
impl RefUnwindSafe for ClientSideAvailability
impl Send for ClientSideAvailability
impl Sync for ClientSideAvailability
impl Unpin for ClientSideAvailability
impl UnwindSafe for ClientSideAvailability
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)