pub struct TemporalResponseLicense {
pub max_horizons: usize,
pub allowed_policies: &'static [&'static str],
pub default_policy: &'static str,
pub default_treatment_lag: u32,
}Expand description
Licensed temporal-response query policy, for language facades.
TemporalResponseSpec::validate is the semantic authority. Bindings may
duplicate checks for early errors but must read these values rather than
defining them.
Fields§
§max_horizons: usizeMaximum number of discrete horizons a query may request.
allowed_policies: &'static [&'static str]Wire tags this spec accepts (pulse, sustained).
default_policy: &'static strDefault wire tag when the caller omits policy.
default_treatment_lag: u32Default treatment_lag (policy origin -lag) for Pulse / ResponseCurve.
Trait Implementations§
Source§impl Clone for TemporalResponseLicense
impl Clone for TemporalResponseLicense
Source§fn clone(&self) -> TemporalResponseLicense
fn clone(&self) -> TemporalResponseLicense
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 moreimpl Copy for TemporalResponseLicense
Source§impl Debug for TemporalResponseLicense
impl Debug for TemporalResponseLicense
impl Eq for TemporalResponseLicense
Source§impl PartialEq for TemporalResponseLicense
impl PartialEq for TemporalResponseLicense
impl StructuralPartialEq for TemporalResponseLicense
Auto Trait Implementations§
impl Freeze for TemporalResponseLicense
impl RefUnwindSafe for TemporalResponseLicense
impl Send for TemporalResponseLicense
impl Sync for TemporalResponseLicense
impl Unpin for TemporalResponseLicense
impl UnsafeUnpin for TemporalResponseLicense
impl UnwindSafe for TemporalResponseLicense
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