pub struct Recommendations {
pub min_zoom: u8,
pub max_zoom: u8,
pub temporal_bucket_ms: u64,
pub temporal_bucket_human: String,
pub confidence: u8,
pub explanations: Vec<String>,
pub advice: Vec<Advice>,
}Expand description
Recommended parameters for stt-build.
stt-build --auto folds min_zoom, max_zoom, and temporal_bucket_ms
into its own args and logs confidence/explanations (--auto encode
additionally applies the non-lossy byte-level entries of advice); all
fields also appear in the standalone analyze/recommend reports.
Fields§
§min_zoom: u8Minimum zoom level
max_zoom: u8Maximum zoom level
temporal_bucket_ms: u64Suggested temporal bucket size in milliseconds (0 = no bucketing)
temporal_bucket_human: StringHuman-readable temporal bucket description
confidence: u8Confidence level in recommendations (0-100)
explanations: Vec<String>Explanation of key decisions
advice: Vec<Advice>Evidence-based advisor suggestions (crate::advisors::run_all),
in advisor order (quantize, temporal, layout, budget). Entries with
lossy: true are surfaced only — they never join to_command and
are never auto-applied by stt-build --auto.
Trait Implementations§
Source§impl Clone for Recommendations
impl Clone for Recommendations
Source§fn clone(&self) -> Recommendations
fn clone(&self) -> Recommendations
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Recommendations
impl Debug for Recommendations
Source§impl<'de> Deserialize<'de> for Recommendations
impl<'de> Deserialize<'de> for Recommendations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for Recommendations
impl RefUnwindSafe for Recommendations
impl Send for Recommendations
impl Sync for Recommendations
impl Unpin for Recommendations
impl UnsafeUnpin for Recommendations
impl UnwindSafe for Recommendations
Blanket Implementations§
impl<T> Allocation 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more