pub struct TransportRealismContext {
pub profile: TransportProfile,
pub observation: Option<TransportObservation>,
}Expand description
Transport-realism strategy hint supplied to an
AcquisitionRequest.
The context carries the TransportProfile (the per-target
expected fingerprints, e.g. Chrome 136) and an optional
TransportObservation (live capture data). When supplied, the
runner evaluates the observation against the profile via
score_transport_realism and
attaches the resulting TransportRealismReport to the
AcquisitionResult::transport_realism field so downstream
policy mapping (T83 / T85 / T89 / T93) can consume it as a
strategy hint.
Fields§
§profile: TransportProfilePer-target transport profile the runner should score against.
observation: Option<TransportObservation>Optional live observation. When None, the score collapses
to the documented “no signal” defaults — the runner still
attaches the report so callers can detect the missing-data
path deterministically.
Implementations§
Source§impl TransportRealismContext
impl TransportRealismContext
Sourcepub const fn new(profile: TransportProfile) -> Self
pub const fn new(profile: TransportProfile) -> Self
Build a context with the default profile and no observation.
Sourcepub const fn with_observation(
profile: TransportProfile,
observation: TransportObservation,
) -> Self
pub const fn with_observation( profile: TransportProfile, observation: TransportObservation, ) -> Self
Build a context with the supplied profile and observation.
Sourcepub fn with_observation_opt(
self,
observation: Option<TransportObservation>,
) -> Self
pub fn with_observation_opt( self, observation: Option<TransportObservation>, ) -> Self
Replace the observation on an existing context.
Sourcepub fn with_profile(self, profile: TransportProfile) -> Self
pub fn with_profile(self, profile: TransportProfile) -> Self
Replace the profile on an existing context.
Trait Implementations§
Source§impl Clone for TransportRealismContext
impl Clone for TransportRealismContext
Source§fn clone(&self) -> TransportRealismContext
fn clone(&self) -> TransportRealismContext
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more