pub struct PnpmOverrideEntry {
pub raw_key: String,
pub parsed_key: Option<ParsedOverrideKey>,
pub raw_value: Option<String>,
pub line: u32,
}Expand description
A single override entry.
Fields§
§raw_key: StringThe full original key as written in the source (e.g.
"react>react-dom", "@types/react@<18"). Preserved for round-trip
reporting so agents see the unmodified spelling.
parsed_key: Option<ParsedOverrideKey>Parsed structure of the key. None when the key cannot be parsed into
a pnpm-recognised shape; in that case the entry is reported as
misconfigured rather than checked for usage.
raw_value: Option<String>The right-hand side of the entry (the version pnpm should force).
None when the value is missing or unparsable.
line: u321-based line number of the entry within the source file.
Trait Implementations§
Source§impl Clone for PnpmOverrideEntry
impl Clone for PnpmOverrideEntry
Source§fn clone(&self) -> PnpmOverrideEntry
fn clone(&self) -> PnpmOverrideEntry
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 moreAuto Trait Implementations§
impl Freeze for PnpmOverrideEntry
impl RefUnwindSafe for PnpmOverrideEntry
impl Send for PnpmOverrideEntry
impl Sync for PnpmOverrideEntry
impl Unpin for PnpmOverrideEntry
impl UnsafeUnpin for PnpmOverrideEntry
impl UnwindSafe for PnpmOverrideEntry
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