pub struct ToolTierConfig {
pub version: u32,
pub default_tier: ToolTier,
pub tiers: BTreeMap<ToolTier, TierDef>,
pub tools: BTreeMap<String, ToolTier>,
}Expand description
Full tool-tier policy loaded from .edda/tool_tiers.yaml.
Fields§
§version: u32§default_tier: ToolTier§tiers: BTreeMap<ToolTier, TierDef>§tools: BTreeMap<String, ToolTier>Trait Implementations§
Source§impl Clone for ToolTierConfig
impl Clone for ToolTierConfig
Source§fn clone(&self) -> ToolTierConfig
fn clone(&self) -> ToolTierConfig
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 moreSource§impl Debug for ToolTierConfig
impl Debug for ToolTierConfig
Source§impl<'de> Deserialize<'de> for ToolTierConfig
impl<'de> Deserialize<'de> for ToolTierConfig
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
Auto Trait Implementations§
impl Freeze for ToolTierConfig
impl RefUnwindSafe for ToolTierConfig
impl Send for ToolTierConfig
impl Sync for ToolTierConfig
impl Unpin for ToolTierConfig
impl UnsafeUnpin for ToolTierConfig
impl UnwindSafe for ToolTierConfig
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