#[non_exhaustive]pub struct Lockfile<'a> {
pub entries: Vec<Entry<'a>>,
pub generator: Generator,
pub version: u8,
pub cache_key: Option<&'a str>,
}Expand description
A parsed yarn.lock file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<Entry<'a>>§generator: Generator§version: u8§cache_key: Option<&'a str>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Lockfile<'a>
impl<'a> RefUnwindSafe for Lockfile<'a>
impl<'a> Send for Lockfile<'a>
impl<'a> Sync for Lockfile<'a>
impl<'a> Unpin for Lockfile<'a>
impl<'a> UnwindSafe for Lockfile<'a>
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