pub struct LockOutcome {
pub lockfile_path: PathBuf,
pub created: bool,
pub bumped: Vec<DependencyBump>,
}Expand description
Outcome of a lock invocation.
Fields§
§lockfile_path: PathBufAbsolute path to the written lockfile.
created: boolTrue if the lockfile was created from scratch (no prior lockfile existed). False = update of existing lockfile.
bumped: Vec<DependencyBump>Per-dependency bumps applied. Empty when manifest didn’t change. Useful for changelog generation.
Trait Implementations§
Source§impl Clone for LockOutcome
impl Clone for LockOutcome
Source§fn clone(&self) -> LockOutcome
fn clone(&self) -> LockOutcome
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 LockOutcome
impl Debug for LockOutcome
Source§impl<'de> Deserialize<'de> for LockOutcome
impl<'de> Deserialize<'de> for LockOutcome
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
Auto Trait Implementations§
impl Freeze for LockOutcome
impl RefUnwindSafe for LockOutcome
impl Send for LockOutcome
impl Sync for LockOutcome
impl Unpin for LockOutcome
impl UnsafeUnpin for LockOutcome
impl UnwindSafe for LockOutcome
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