pub struct LockedTool {
pub tool: String,
pub platform: String,
pub arch: String,
pub version: String,
pub url: String,
pub sha256: String,
pub resolved_at: String,
}Expand description
One pinned toolchain entry: an exact, integrity-checked resolution.
Ord is derived field-by-field (tool, then platform, then arch, …), so the
natural sort orders entries by (tool, platform, arch) first — the ordering
the lockfile writer uses for a stable, diff-friendly file.
Fields§
§tool: StringThe tool request token as provisioned (e.g. git, node@lts).
platform: StringTarget platform (macos / windows).
arch: StringHost architecture token (arm64 / x86_64).
version: StringThe exact resolved version (e.g. 2.55.0).
url: StringThe exact download URL the artifact was fetched from.
sha256: StringThe artifact’s sha256 (bare lowercase hex).
resolved_at: StringRFC 3339 timestamp of when this entry was resolved.
Trait Implementations§
Source§impl Clone for LockedTool
impl Clone for LockedTool
Source§fn clone(&self) -> LockedTool
fn clone(&self) -> LockedTool
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 LockedTool
impl Debug for LockedTool
Source§impl<'de> Deserialize<'de> for LockedTool
impl<'de> Deserialize<'de> for LockedTool
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 LockedTool
Source§impl Ord for LockedTool
impl Ord for LockedTool
Source§fn cmp(&self, other: &LockedTool) -> Ordering
fn cmp(&self, other: &LockedTool) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LockedTool
impl PartialEq for LockedTool
Source§fn eq(&self, other: &LockedTool) -> bool
fn eq(&self, other: &LockedTool) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LockedTool
impl PartialOrd for LockedTool
Source§impl Serialize for LockedTool
impl Serialize for LockedTool
impl StructuralPartialEq for LockedTool
Auto Trait Implementations§
impl Freeze for LockedTool
impl RefUnwindSafe for LockedTool
impl Send for LockedTool
impl Sync for LockedTool
impl Unpin for LockedTool
impl UnsafeUnpin for LockedTool
impl UnwindSafe for LockedTool
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.