pub struct Profile {Show 13 fields
control_uri: String,
admin_password: String,
idm_admin_password: String,
seed: i64,
extra_uris: Vec<String>,
warmup_time: u64,
test_time: Option<u64>,
group_count: u64,
person_count: u64,
thread_count: Option<usize>,
model: Model,
group: BTreeMap<String, GroupProperties>,
dump_raw_data: bool,
}
Fields§
§control_uri: String
§admin_password: String
§idm_admin_password: String
§seed: i64
§extra_uris: Vec<String>
§warmup_time: u64
§test_time: Option<u64>
§group_count: u64
§person_count: u64
§thread_count: Option<usize>
§model: Model
§group: BTreeMap<String, GroupProperties>
§dump_raw_data: bool
Implementations§
source§impl Profile
impl Profile
pub fn control_uri(&self) -> &str
pub fn extra_uris(&self) -> &[String]
pub fn admin_password(&self) -> &str
pub fn idm_admin_password(&self) -> &str
pub fn group_count(&self) -> u64
pub fn person_count(&self) -> u64
pub fn thread_count(&self) -> Option<usize>
pub fn get_properties_by_group(&self) -> &BTreeMap<String, GroupProperties>
pub fn seed(&self) -> u64
pub fn model(&self) -> &Model
pub fn warmup_time(&self) -> Duration
pub fn test_time(&self) -> Option<Duration>
pub fn dump_raw_data(&self) -> bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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