pub struct PaymentSyncSummary {
pub num_new: usize,
pub num_updated: usize,
}Expand description
Summary of changes from a payment sync operation.
Fields§
§num_new: usizeNumber of new payments added to the local DB.
num_updated: usizeNumber of existing payments that were updated.
Implementations§
Source§impl PaymentSyncSummary
impl PaymentSyncSummary
Sourcepub fn any_changes(&self) -> bool
pub fn any_changes(&self) -> bool
Did any payments in the DB change in this sync? (i.e., do we need to update part of the UI?)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaymentSyncSummary
impl RefUnwindSafe for PaymentSyncSummary
impl Send for PaymentSyncSummary
impl Sync for PaymentSyncSummary
impl Unpin for PaymentSyncSummary
impl UnwindSafe for PaymentSyncSummary
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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