pub struct StatsigUserLoggable {
pub data: Arc<UserLoggableData>,
}
Fields§
§data: Arc<UserLoggableData>
Implementations§
Source§impl StatsigUserLoggable
impl StatsigUserLoggable
pub fn new(user_internal: &StatsigUserInternal<'_, '_>) -> Self
pub fn null_user() -> Self
pub fn get_sampling_key(&self) -> String
Trait Implementations§
Source§impl Clone for StatsigUserLoggable
impl Clone for StatsigUserLoggable
Source§fn clone(&self) -> StatsigUserLoggable
fn clone(&self) -> StatsigUserLoggable
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<'de> Deserialize<'de> for StatsigUserLoggable
impl<'de> Deserialize<'de> for StatsigUserLoggable
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
Source§impl Drop for StatsigUserLoggable
impl Drop for StatsigUserLoggable
Auto Trait Implementations§
impl Freeze for StatsigUserLoggable
impl RefUnwindSafe for StatsigUserLoggable
impl Send for StatsigUserLoggable
impl Sync for StatsigUserLoggable
impl Unpin for StatsigUserLoggable
impl UnwindSafe for StatsigUserLoggable
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