pub struct Owner {
pub argv: Vec<String>,
pub dir: PathBuf,
pub lockfile: Option<PathBuf>,
}Expand description
The command that owns a manifest’s lockfile: what to run, where, and the lockfile it rewrites.
Fields§
§argv: Vec<String>The command, such as cargo update --workspace.
dir: PathBufWhere it runs: the directory containing the lockfile, or the manifest’s when no lockfile exists yet.
lockfile: Option<PathBuf>The lockfile the command rewrites, when the tree has one.
Implementations§
Trait Implementations§
impl Eq for Owner
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Forget for Owner
impl Freeze for Owner
impl Move for Owner
impl RefUnwindSafe for Owner
impl Send for Ownerwhere
RawVecInner: Send,
impl Sync for Ownerwhere
RawVecInner: Sync,
impl Unpin for Owner
impl UnsafeUnpin for Ownerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Ownerwhere
RawVecInner: UnwindSafe,
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> 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.