Struct launchdarkly_server_sdk::UserBuilder
source · [−]pub struct UserBuilder { /* private fields */ }
Expand description
Contains methods for configuring a user.
Implementations
Create a new user builder, setting the user key value to key
.
Set the secondary attribute for this builder instance.
Set the ip attribute for this builder instance.
Set the country attribute for this builder instance.
Set the email attribute for this builder instance.
Set the first name attribute for this builder instance.
Set the last name attribute for this builder instance.
Set the avatar attribute for this builder instance.
Set the name attribute for this builder instance.
Set the anonymous attribute for this builder instance.
pub fn custom(
&mut self,
custom: HashMap<String, AttributeValue, RandomState>
) -> &UserBuilder
pub fn custom(
&mut self,
custom: HashMap<String, AttributeValue, RandomState>
) -> &UserBuilder
Set the custom attributes for this builder instance.
Auto Trait Implementations
impl RefUnwindSafe for UserBuilder
impl Send for UserBuilder
impl Sync for UserBuilder
impl Unpin for UserBuilder
impl UnwindSafe for UserBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more