statsig-rust 0.19.1-beta.2604110309

Statsig Rust SDK for usage in multi-user server environments.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
pub struct SecondaryExposureKey {
    pub gate_name_hash: u64,
    pub rule_id_hash: u64,
    pub gate_value_hash: u64,
}

impl SecondaryExposureKey {
    pub fn new(gate_name_hash: u64, rule_id_hash: u64, gate_value_hash: u64) -> Self {
        Self {
            gate_name_hash,
            rule_id_hash,
            gate_value_hash,
        }
    }
}