pub struct ReferenceResolutionConfig {
pub enabled: bool,
pub output_pattern: String,
pub max_depth: u32,
pub output_overrides: HashMap<String, Option<String>>,
}Expand description
Configuration for automatic reference resolution
Controls how transitive dependencies (references) are automatically resolved and where they are stored when not explicitly declared in dependencies.
Fields§
§enabled: boolWhether to automatically resolve references
output_pattern: StringOutput path pattern for resolved references Variables: {groupId}, {artifactId}, {version}, {ext} Advanced variables: {artifactParts[0]}, {artifactParts[1]}, etc.
max_depth: u32Maximum depth for reference resolution (prevents infinite loops)
output_overrides: HashMap<String, Option<String>>Explicit output path overrides for specific artifacts Key format: “groupId/artifactId” or “registry/groupId/artifactId” Value: exact output path to use, or null to skip resolution entirely
Trait Implementations§
Source§impl Clone for ReferenceResolutionConfig
impl Clone for ReferenceResolutionConfig
Source§fn clone(&self) -> ReferenceResolutionConfig
fn clone(&self) -> ReferenceResolutionConfig
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 ReferenceResolutionConfig
impl Debug for ReferenceResolutionConfig
Source§impl Default for ReferenceResolutionConfig
impl Default for ReferenceResolutionConfig
Source§impl<'de> Deserialize<'de> for ReferenceResolutionConfig
impl<'de> Deserialize<'de> for ReferenceResolutionConfig
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 ReferenceResolutionConfig
impl RefUnwindSafe for ReferenceResolutionConfig
impl Send for ReferenceResolutionConfig
impl Sync for ReferenceResolutionConfig
impl Unpin for ReferenceResolutionConfig
impl UnsafeUnpin for ReferenceResolutionConfig
impl UnwindSafe for ReferenceResolutionConfig
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