pub enum VolatilityTier {
Critical,
High,
Medium,
Stable,
}Expand description
Volatility tier indicating how frequently data changes
Variants§
Critical
Changes in days to weeks — MUST verify before using Examples: LLM model IDs, API pricing, CVEs, SDK breaking changes
High
Changes in weeks to months — verify when writing config/deps Examples: package versions, framework APIs, Docker tags, cloud services
Medium
Changes in months to quarters — verify if uncertain Examples: browser APIs, crypto recommendations, compliance frameworks
Stable
Changes over years — trust training data Examples: language syntax, protocols, algorithms, design patterns
Implementations§
Source§impl VolatilityTier
impl VolatilityTier
Sourcepub fn requires_verification(&self) -> bool
pub fn requires_verification(&self) -> bool
Whether this tier requires verification before use
Sourcepub fn recommendation(&self) -> &'static str
pub fn recommendation(&self) -> &'static str
Human-readable recommendation for this tier
Trait Implementations§
Source§impl Clone for VolatilityTier
impl Clone for VolatilityTier
Source§fn clone(&self) -> VolatilityTier
fn clone(&self) -> VolatilityTier
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 VolatilityTier
impl Debug for VolatilityTier
Source§impl<'de> Deserialize<'de> for VolatilityTier
impl<'de> Deserialize<'de> for VolatilityTier
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VolatilityTier
impl PartialEq for VolatilityTier
Source§impl Serialize for VolatilityTier
impl Serialize for VolatilityTier
impl Copy for VolatilityTier
impl Eq for VolatilityTier
impl StructuralPartialEq for VolatilityTier
Auto Trait Implementations§
impl Freeze for VolatilityTier
impl RefUnwindSafe for VolatilityTier
impl Send for VolatilityTier
impl Sync for VolatilityTier
impl Unpin for VolatilityTier
impl UnsafeUnpin for VolatilityTier
impl UnwindSafe for VolatilityTier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.