pub struct Tables {
pub catalog: Vec<ChangeId>,
pub runtime_allowlist: Vec<String>,
pub option_sensitivity: Vec<(String, Sensitivities)>,
pub model_catalog: Vec<ModelId>,
}Expand description
Shipped tables. Hashed into PolicyVersion.
Fields§
§catalog: Vec<ChangeId>Change-catalog entry ids (§9).
runtime_allowlist: Vec<String>The core-owned runtime-settable options (§12a).
option_sensitivity: Vec<(String, Sensitivities)>Option-path prefix → sensitivity. Longest prefix wins (the later entry on a tie); no match is Routine.
model_catalog: Vec<ModelId>Hash-pinned model catalog (Phase B; empty in A).
Implementations§
Source§impl Tables
impl Tables
pub fn option_sensitivity(&self, path: &str) -> Sensitivities
Source§impl Tables
impl Tables
pub fn diff_sensitivity(&self, diff: &ConfigDiff) -> Sensitivities
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tables
impl<'de> Deserialize<'de> for Tables
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
impl Eq for Tables
impl StructuralPartialEq for Tables
Auto Trait Implementations§
impl Freeze for Tables
impl RefUnwindSafe for Tables
impl Send for Tables
impl Sync for Tables
impl Unpin for Tables
impl UnsafeUnpin for Tables
impl UnwindSafe for Tables
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