pub enum Extends {
Single(String),
Multiple(Vec<String>),
}Expand description
One or more configuration files to extend.
Can be a single path/URL string or an array of paths/URLs. Properties from extended configs are merged, with the current file taking precedence. Earlier entries in an array take priority over later ones.
Supports the ${configDir} variable (resolves to the directory
containing the current config file) and ${originConfigDir} (resolves
to the directory of the original/root config file).
When extending remote configs (URLs), includes and non-Wasm plugins
entries are ignored for security.
Variants§
Single(String)
A single file path or URL to a configuration file to extend.
Multiple(Vec<String>)
A collection of file paths and/or URLs to configuration files to extend.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Extends
impl<'de> Deserialize<'de> for Extends
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 JsonSchema for Extends
impl JsonSchema for Extends
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl Eq for Extends
impl StructuralPartialEq for Extends
Auto Trait Implementations§
impl Freeze for Extends
impl RefUnwindSafe for Extends
impl Send for Extends
impl Sync for Extends
impl Unpin for Extends
impl UnsafeUnpin for Extends
impl UnwindSafe for Extends
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