Struct orca::profile::ProfileBuilder
source · pub struct ProfileBuilder {
pub control_uri: String,
pub admin_password: String,
pub idm_admin_password: String,
pub seed: Option<u64>,
pub extra_uris: Vec<String>,
pub warmup_time: Option<u64>,
pub test_time: Option<Option<u64>>,
pub group_count: Option<u64>,
pub person_count: Option<u64>,
pub thread_count: Option<usize>,
pub model: Model,
pub dump_raw_data: bool,
}
Fields§
§control_uri: String
§admin_password: String
§idm_admin_password: String
§seed: Option<u64>
§extra_uris: Vec<String>
§warmup_time: Option<u64>
§test_time: Option<Option<u64>>
§group_count: Option<u64>
§person_count: Option<u64>
§thread_count: Option<usize>
§model: Model
§dump_raw_data: bool
Implementations§
source§impl ProfileBuilder
impl ProfileBuilder
pub fn new( control_uri: String, extra_uris: Vec<String>, admin_password: String, idm_admin_password: String, model: Model, thread_count: Option<usize>, dump_raw_data: bool, ) -> Self
pub fn seed(self, seed: Option<u64>) -> Self
pub fn warmup_time(self, time: Option<u64>) -> Self
pub fn test_time(self, time: Option<Option<u64>>) -> Self
pub fn group_count(self, group_count: Option<u64>) -> Self
pub fn person_count(self, person_count: Option<u64>) -> Self
pub fn build(self) -> Result<Profile, Error>
Auto Trait Implementations§
impl Freeze for ProfileBuilder
impl RefUnwindSafe for ProfileBuilder
impl Send for ProfileBuilder
impl Sync for ProfileBuilder
impl Unpin for ProfileBuilder
impl UnwindSafe for ProfileBuilder
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