pub struct PinRewrite {
pub in_package: String,
pub dependency: String,
pub from: String,
pub to: String,
}Expand description
One intra-workspace =-version pin the PlanPhase::Bump phase rewrites in
lockstep with the workspace version (e.g. the bin crate’s lib-core = "=0.1.5"
→ lib-core = "=0.1.6"). Derived deterministically from the workspace graph.
Fields§
§in_package: StringThe workspace member whose manifest carries the pin (the dependent crate).
dependency: StringThe pinned intra-workspace dependency crate (the pin’s subject).
from: StringThe current pin requirement (=<from_version>).
to: StringThe rewritten pin requirement (=<to_version>).
Trait Implementations§
Source§impl Clone for PinRewrite
impl Clone for PinRewrite
Source§fn clone(&self) -> PinRewrite
fn clone(&self) -> PinRewrite
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 PinRewrite
impl Debug for PinRewrite
impl Eq for PinRewrite
Source§impl PartialEq for PinRewrite
impl PartialEq for PinRewrite
Source§impl Serialize for PinRewrite
impl Serialize for PinRewrite
impl StructuralPartialEq for PinRewrite
Auto Trait Implementations§
impl Freeze for PinRewrite
impl RefUnwindSafe for PinRewrite
impl Send for PinRewrite
impl Sync for PinRewrite
impl Unpin for PinRewrite
impl UnsafeUnpin for PinRewrite
impl UnwindSafe for PinRewrite
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.