pub struct EffortRequest {
pub model: EffortModelKind,
pub layer: EffortLayer,
pub base_ref: Option<String>,
pub head_ref: Option<String>,
pub monte_carlo: bool,
pub mc_iterations: usize,
pub mc_seed: Option<u64>,
}Expand description
Request object passed into the effort engine.
This is the computation-facing version of the CLI/config surface. It is intentionally explicit so the builder can remain deterministic and avoid reaching back into argument parsing layers.
Notes:
modelselects the requested estimate family,layeris presentation-oriented metadata,base_ref/head_refenable delta output,- Monte Carlo fields are carried here even if the current engine chooses to reject or ignore them while only deterministic paths are implemented.
Fields§
§model: EffortModelKindEstimation model requested by the caller.
layer: EffortLayerRequested presentation depth for effort output.
base_ref: Option<String>Optional base reference for change-window estimation.
head_ref: Option<String>Optional head reference for change-window estimation.
monte_carlo: boolEnable Monte Carlo uncertainty estimation.
mc_iterations: usizeMonte Carlo sample count when uncertainty estimation is enabled.
mc_seed: Option<u64>Optional deterministic seed for Monte Carlo.
Trait Implementations§
Source§impl Clone for EffortRequest
impl Clone for EffortRequest
Source§fn clone(&self) -> EffortRequest
fn clone(&self) -> EffortRequest
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 EffortRequest
impl Debug for EffortRequest
Source§impl Default for EffortRequest
impl Default for EffortRequest
Source§fn default() -> EffortRequest
fn default() -> EffortRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for EffortRequest
impl PartialEq for EffortRequest
impl Eq for EffortRequest
impl StructuralPartialEq for EffortRequest
Auto Trait Implementations§
impl Freeze for EffortRequest
impl RefUnwindSafe for EffortRequest
impl Send for EffortRequest
impl Sync for EffortRequest
impl Unpin for EffortRequest
impl UnsafeUnpin for EffortRequest
impl UnwindSafe for EffortRequest
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