pub struct DeviceFingerprintConfig {
pub enabled: bool,
pub device_reuse_rate: f64,
pub multi_device_rate: f64,
}Expand description
Device fingerprint generation configuration.
Fields§
§enabled: boolEnable structured device fingerprints (replaces simple DEV-hash pattern)
device_reuse_rate: f64Probability a customer reuses an existing device vs generating a new one
multi_device_rate: f64Proportion of customers with 2+ devices
Trait Implementations§
Source§impl Clone for DeviceFingerprintConfig
impl Clone for DeviceFingerprintConfig
Source§fn clone(&self) -> DeviceFingerprintConfig
fn clone(&self) -> DeviceFingerprintConfig
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 DeviceFingerprintConfig
impl Debug for DeviceFingerprintConfig
Source§impl Default for DeviceFingerprintConfig
impl Default for DeviceFingerprintConfig
Source§impl<'de> Deserialize<'de> for DeviceFingerprintConfig
impl<'de> Deserialize<'de> for DeviceFingerprintConfig
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 DeviceFingerprintConfig
impl RefUnwindSafe for DeviceFingerprintConfig
impl Send for DeviceFingerprintConfig
impl Sync for DeviceFingerprintConfig
impl Unpin for DeviceFingerprintConfig
impl UnsafeUnpin for DeviceFingerprintConfig
impl UnwindSafe for DeviceFingerprintConfig
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