pub struct SyntheticTraceSpec {
pub block_size: usize,
pub num_sessions: usize,
pub turns_per_session: usize,
pub input_tokens: LengthSpec,
pub output_tokens: LengthSpec,
pub shared_prefix_ratio: f64,
pub num_prefix_groups: usize,
pub first_turn_arrivals: ArrivalSpec,
pub inter_turn_delays: DelaySpec,
pub seed: u64,
pub arrival_seed: u64,
}Fields§
§block_size: usize§num_sessions: usize§turns_per_session: usize§input_tokens: LengthSpec§output_tokens: LengthSpec§num_prefix_groups: usize§first_turn_arrivals: ArrivalSpec§inter_turn_delays: DelaySpec§seed: u64§arrival_seed: u64Trait Implementations§
Source§impl Clone for SyntheticTraceSpec
impl Clone for SyntheticTraceSpec
Source§fn clone(&self) -> SyntheticTraceSpec
fn clone(&self) -> SyntheticTraceSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SyntheticTraceSpec
impl RefUnwindSafe for SyntheticTraceSpec
impl Send for SyntheticTraceSpec
impl Sync for SyntheticTraceSpec
impl Unpin for SyntheticTraceSpec
impl UnsafeUnpin for SyntheticTraceSpec
impl UnwindSafe for SyntheticTraceSpec
Blanket Implementations§
impl<T> BlockMetadata for T
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