pub struct PushReport {Show 14 fields
pub applied: bool,
pub created: usize,
pub updated: usize,
pub skipped_remote_only: usize,
pub failed: usize,
pub pending: usize,
pub lists_created: usize,
pub lists_updated: usize,
pub items_created: usize,
pub items_updated: usize,
pub items_removed: usize,
pub out_of_scope: usize,
pub selected: Option<usize>,
pub local_total: Option<usize>,
}Expand description
The summary push renders.
created, updated, skipped_remote_only, and pending count rules.
failed counts every failed write, rules and exceptions alike, so a failed
list or item write still exits nonzero. The *_lists/items_* fields name
the exception writes separately, so a run that creates, updates, or removes
only containers and items never reads as “nothing happened”. items_removed
is the one deletion the state engine performs.
Fields§
§applied: bool§created: usize§updated: usize§skipped_remote_only: usize§failed: usize§pending: usize§lists_created: usize§lists_updated: usize§items_created: usize§items_updated: usize§items_removed: usize§out_of_scope: usizeLocal rule files outside the active --source scope, never planned as
creates (spec 5.5). Omitted when zero.
selected: Option<usize>§local_total: Option<usize>Trait Implementations§
Source§impl Clone for PushReport
impl Clone for PushReport
Source§fn clone(&self) -> PushReport
fn clone(&self) -> PushReport
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 PushReport
impl Debug for PushReport
Source§impl PartialEq for PushReport
impl PartialEq for PushReport
Source§impl Serialize for PushReport
impl Serialize for PushReport
impl StructuralPartialEq for PushReport
Auto Trait Implementations§
impl Freeze for PushReport
impl RefUnwindSafe for PushReport
impl Send for PushReport
impl Sync for PushReport
impl Unpin for PushReport
impl UnsafeUnpin for PushReport
impl UnwindSafe for PushReport
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