pub struct SyncReport {
pub workspace_version: String,
pub renamed_entries: Vec<(String, String)>,
pub versioned_entries: Vec<(String, String)>,
pub file_changed: bool,
}Expand description
Result of a sync operation: which entries were rewritten.
Fields§
§workspace_version: StringWorkspace version that was applied to every member entry.
renamed_entries: Vec<(String, String)>Pair of (old dep LHS, new dep LHS) for entries whose dep alias
was renamed to match the member’s actual [package].name.
versioned_entries: Vec<(String, String)>Pair of (member path, new dep LHS) for entries whose version
literal was rewritten to workspace_version.
file_changed: booltrue if the workspace Cargo.toml was mutated by this run.
Trait Implementations§
Source§impl Clone for SyncReport
impl Clone for SyncReport
Source§impl Debug for SyncReport
impl Debug for SyncReport
impl Eq for SyncReport
Source§impl PartialEq for SyncReport
impl PartialEq for SyncReport
impl StructuralPartialEq for SyncReport
Auto Trait Implementations§
impl Freeze for SyncReport
impl RefUnwindSafe for SyncReport
impl Send for SyncReport
impl Sync for SyncReport
impl Unpin for SyncReport
impl UnsafeUnpin for SyncReport
impl UnwindSafe for SyncReport
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.