pub struct DiffSummary {
pub tasks_added: usize,
pub tasks_removed: usize,
pub tasks_modified: usize,
pub tasks_unchanged: usize,
pub edges_added: usize,
pub edges_removed: usize,
pub edges_modified: usize,
pub config_changes: usize,
pub has_changes: bool,
}Expand description
Summary statistics of a diff.
Fields§
§tasks_added: usizeNumber of tasks added.
tasks_removed: usizeNumber of tasks removed.
tasks_modified: usizeNumber of tasks modified.
tasks_unchanged: usizeNumber of tasks unchanged.
edges_added: usizeNumber of edges added.
edges_removed: usizeNumber of edges removed.
edges_modified: usizeNumber of edges modified.
config_changes: usizeNumber of config fields changed.
has_changes: boolWhether there are any changes at all.
Trait Implementations§
Source§impl Clone for DiffSummary
impl Clone for DiffSummary
Source§fn clone(&self) -> DiffSummary
fn clone(&self) -> DiffSummary
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 DiffSummary
impl Debug for DiffSummary
Source§impl<'de> Deserialize<'de> for DiffSummary
impl<'de> Deserialize<'de> for DiffSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiffSummary
impl RefUnwindSafe for DiffSummary
impl Send for DiffSummary
impl Sync for DiffSummary
impl Unpin for DiffSummary
impl UnsafeUnpin for DiffSummary
impl UnwindSafe for DiffSummary
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