pub struct LocalPlan {
changes: Vec<LocalChange>,
files: Vec<PathBuf>,
edits: PlannedEdits,
}Expand description
A validated local plan for any configured release target.
Fields§
§changes: Vec<LocalChange>§files: Vec<PathBuf>§edits: PlannedEditsImplementations§
Source§impl LocalPlan
impl LocalPlan
pub(crate) fn new(changes: Vec<LocalChange>, edits: PlannedEdits) -> Self
Sourcepub fn changes(&self) -> &[LocalChange]
pub fn changes(&self) -> &[LocalChange]
Units whose versions this plan changes.
Trait Implementations§
impl Eq for LocalPlan
impl StructuralPartialEq for LocalPlan
Auto Trait Implementations§
impl Freeze for LocalPlan
impl RefUnwindSafe for LocalPlan
impl Send for LocalPlan
impl Sync for LocalPlan
impl Unpin for LocalPlan
impl UnsafeUnpin for LocalPlan
impl UnwindSafe for LocalPlan
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.