pub enum EditSource {
PackageVersion {
package: PackageId,
},
DependencyVersion {
package: PackageId,
dependency: PackageId,
},
WorkspaceDependencies {
dependencies: Vec<PackageId>,
},
WorkspaceManifest {
shared_versions: Vec<SharedVersionEdit>,
dependencies: Vec<PackageId>,
},
Changelog {
package: PackageId,
},
}Expand description
Domain operation that produced a planned file edit.
Variants§
Trait Implementations§
Source§impl Clone for EditSource
impl Clone for EditSource
Source§fn clone(&self) -> EditSource
fn clone(&self) -> EditSource
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 EditSource
impl Debug for EditSource
impl Eq for EditSource
Source§impl Ord for EditSource
impl Ord for EditSource
Source§fn cmp(&self, other: &EditSource) -> Ordering
fn cmp(&self, other: &EditSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EditSource
impl PartialEq for EditSource
Source§impl PartialOrd for EditSource
impl PartialOrd for EditSource
Source§impl Serialize for EditSource
impl Serialize for EditSource
impl StructuralPartialEq for EditSource
Auto Trait Implementations§
impl Freeze for EditSource
impl RefUnwindSafe for EditSource
impl Send for EditSource
impl Sync for EditSource
impl Unpin for EditSource
impl UnsafeUnpin for EditSource
impl UnwindSafe for EditSource
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