pub struct PinOutcome {
pub lock: Lockfile,
pub path: PathBuf,
pub selection: Selection,
pub diff: Vec<String>,
pub previous: bool,
pub vendored: Vec<String>,
pub warnings: Vec<String>,
}Expand description
What pin did.
Fields§
§lock: Lockfile§path: PathBuf§selection: Selection§diff: Vec<String>Changes from the previous pinned lock at path (empty for a first pin).
previous: bool§vendored: Vec<String>§warnings: Vec<String>Trait Implementations§
Source§impl Clone for PinOutcome
impl Clone for PinOutcome
Source§fn clone(&self) -> PinOutcome
fn clone(&self) -> PinOutcome
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 moreAuto Trait Implementations§
impl Freeze for PinOutcome
impl RefUnwindSafe for PinOutcome
impl Send for PinOutcome
impl Sync for PinOutcome
impl Unpin for PinOutcome
impl UnsafeUnpin for PinOutcome
impl UnwindSafe for PinOutcome
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