pub struct SnapshotChanges {
pub changed_projects: BTreeMap<ProjectHandle, ProjectFileChanges>,
pub removed_projects: Vec<ProjectHandle>,
}Expand description
Project-level delta information returned by Corsa.
Fields§
§changed_projects: BTreeMap<ProjectHandle, ProjectFileChanges>Project-scoped change details keyed by project handle.
removed_projects: Vec<ProjectHandle>Projects removed from the snapshot as part of the update.
Trait Implementations§
Source§impl Clone for SnapshotChanges
impl Clone for SnapshotChanges
Source§fn clone(&self) -> SnapshotChanges
fn clone(&self) -> SnapshotChanges
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 SnapshotChanges
impl Debug for SnapshotChanges
Source§impl Default for SnapshotChanges
impl Default for SnapshotChanges
Source§fn default() -> SnapshotChanges
fn default() -> SnapshotChanges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotChanges
impl<'de> Deserialize<'de> for SnapshotChanges
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotChanges, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SnapshotChanges, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SnapshotChanges
Source§impl PartialEq for SnapshotChanges
impl PartialEq for SnapshotChanges
Source§fn eq(&self, other: &SnapshotChanges) -> bool
fn eq(&self, other: &SnapshotChanges) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotChanges
impl Serialize for SnapshotChanges
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SnapshotChanges
Auto Trait Implementations§
impl Freeze for SnapshotChanges
impl RefUnwindSafe for SnapshotChanges
impl Send for SnapshotChanges
impl Sync for SnapshotChanges
impl Unpin for SnapshotChanges
impl UnsafeUnpin for SnapshotChanges
impl UnwindSafe for SnapshotChanges
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