pub struct UserPersonaConfig {
pub persona_distribution: PersonaDistribution,
pub users_per_persona: UsersPerPersona,
}Expand description
User persona configuration.
Fields§
§persona_distribution: PersonaDistributionDistribution of user personas
users_per_persona: UsersPerPersonaUsers per persona type
Trait Implementations§
Source§impl Clone for UserPersonaConfig
impl Clone for UserPersonaConfig
Source§fn clone(&self) -> UserPersonaConfig
fn clone(&self) -> UserPersonaConfig
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 UserPersonaConfig
impl Debug for UserPersonaConfig
Source§impl Default for UserPersonaConfig
impl Default for UserPersonaConfig
Source§fn default() -> UserPersonaConfig
fn default() -> UserPersonaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPersonaConfig
impl<'de> Deserialize<'de> for UserPersonaConfig
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 UserPersonaConfig
impl RefUnwindSafe for UserPersonaConfig
impl Send for UserPersonaConfig
impl Sync for UserPersonaConfig
impl Unpin for UserPersonaConfig
impl UnwindSafe for UserPersonaConfig
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