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: boolImplementations§
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 UnsafeUnpin for ProfileBuilder
impl UnwindSafe for ProfileBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].