pub struct LockInput<'a> {
pub content_hash: &'a str,
pub packages: Vec<Value>,
pub packages_dev: Option<Vec<Value>>,
pub platform: Map<String, Value>,
pub platform_dev: Map<String, Value>,
pub aliases: &'a [RootAlias],
pub minimum_stability: &'a str,
pub stability_flags: &'a BTreeMap<String, i32>,
pub prefer_stable: bool,
pub prefer_lowest: bool,
pub platform_overrides: &'a Map<String, Value>,
}Fields§
§content_hash: &'a str§packages: Vec<Value>§packages_dev: Option<Vec<Value>>§platform: Map<String, Value>§platform_dev: Map<String, Value>§aliases: &'a [RootAlias]§minimum_stability: &'a str§stability_flags: &'a BTreeMap<String, i32>§prefer_stable: bool§prefer_lowest: bool§platform_overrides: &'a Map<String, Value>Auto Trait Implementations§
impl<'a> Freeze for LockInput<'a>
impl<'a> RefUnwindSafe for LockInput<'a>
impl<'a> Send for LockInput<'a>
impl<'a> Sync for LockInput<'a>
impl<'a> Unpin for LockInput<'a>
impl<'a> UnsafeUnpin for LockInput<'a>
impl<'a> UnwindSafe for LockInput<'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