pub struct LockEntry {
pub name: String,
pub registry: String,
pub constraint: String,
pub version: String,
pub head_op: Option<String>,
}Expand description
One resolved dependency: the constraint that produced it and the exact release it pins to.
Fields§
§name: String§registry: String§constraint: StringThe version = "…" constraint from lex.toml, recorded so lex pkg lock can tell whether an existing pin still satisfies its declaration.
version: StringThe concrete MAJOR.MINOR.PATCH release chosen.
head_op: Option<String>The op-log head that release points at (#911). None if the registry
served a release with no head — resolution still pins the version.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LockEntry
impl<'de> Deserialize<'de> for LockEntry
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
impl Eq for LockEntry
impl StructuralPartialEq for LockEntry
Auto Trait Implementations§
impl Freeze for LockEntry
impl RefUnwindSafe for LockEntry
impl Send for LockEntry
impl Sync for LockEntry
impl Unpin for LockEntry
impl UnsafeUnpin for LockEntry
impl UnwindSafe for LockEntry
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