pub struct LockedTool {
pub name: String,
pub request: String,
pub version: String,
pub provider: String,
pub platform: BTreeMap<String, PlatformPin>,
}Expand description
A locked tool: the resolution plus a per-platform artifact pin.
Fields§
§name: String§request: String§version: String§provider: String§platform: BTreeMap<String, PlatformPin>platform token → artifact pin (sorted for canonical output).
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
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 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