pub struct PackManifest {Show 14 fields
pub meta: Option<MetaSection>,
pub defaults: Option<DefaultsSection>,
pub settings: Option<SettingsSection>,
pub routing: Option<RoutingSection>,
pub profiles: HashMap<String, ProfileDef>,
pub adapters: HashMap<String, AdapterDef>,
pub formats: HashMap<String, FormatDef>,
pub policies: HashMap<String, PolicyDef>,
pub injections: HashMap<String, InjectionDef>,
pub providers: HashMap<String, ProviderDef>,
pub tools: ToolsSection,
pub toolsets: HashMap<String, ToolsetDef>,
pub agents: HashMap<String, PackAgentBinding>,
pub extensions: HashMap<String, Value>,
}Fields§
§meta: Option<MetaSection>§defaults: Option<DefaultsSection>§settings: Option<SettingsSection>§routing: Option<RoutingSection>§profiles: HashMap<String, ProfileDef>§adapters: HashMap<String, AdapterDef>§formats: HashMap<String, FormatDef>§policies: HashMap<String, PolicyDef>§injections: HashMap<String, InjectionDef>§providers: HashMap<String, ProviderDef>§tools: ToolsSection§toolsets: HashMap<String, ToolsetDef>§agents: HashMap<String, PackAgentBinding>§extensions: HashMap<String, Value>Vendor/tool-specific extension keys (must start with “x-”).
Example: x-mycompany-feature = { enabled = true }
Trait Implementations§
Source§impl Clone for PackManifest
impl Clone for PackManifest
Source§fn clone(&self) -> PackManifest
fn clone(&self) -> PackManifest
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 PackManifest
impl Debug for PackManifest
Source§impl<'de> Deserialize<'de> for PackManifest
impl<'de> Deserialize<'de> for PackManifest
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 PackManifest
impl RefUnwindSafe for PackManifest
impl Send for PackManifest
impl Sync for PackManifest
impl Unpin for PackManifest
impl UnwindSafe for PackManifest
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