pub struct WorkspaceVersionProjection<'a> {
pub package: &'a str,
pub previous: &'a str,
pub next: &'a str,
}Expand description
One unsourced workspace package whose version may change; all other parsed lockfile content must remain identical. Release version policy is caller-owned.
Fields§
§package: &'a strExact package name, selecting only records with no source field.
previous: &'a strExpected version in the saved input.
next: &'a strOnly permitted replacement version.
Trait Implementations§
Source§impl<'a> Clone for WorkspaceVersionProjection<'a>
impl<'a> Clone for WorkspaceVersionProjection<'a>
impl<'a> Copy for WorkspaceVersionProjection<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkspaceVersionProjection<'a>
impl<'a> RefUnwindSafe for WorkspaceVersionProjection<'a>
impl<'a> Send for WorkspaceVersionProjection<'a>
impl<'a> Sync for WorkspaceVersionProjection<'a>
impl<'a> Unpin for WorkspaceVersionProjection<'a>
impl<'a> UnsafeUnpin for WorkspaceVersionProjection<'a>
impl<'a> UnwindSafe for WorkspaceVersionProjection<'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