pub struct CalendarDiff { /* private fields */ }Implementations§
Source§impl CalendarDiff
impl CalendarDiff
pub fn incoming(&self) -> &[EventChange]
pub fn outgoing(&self) -> &[EventChange]
pub fn is_empty(&self) -> bool
Sourcepub fn discard_outgoing(&mut self)
pub fn discard_outgoing(&mut self)
Drop outgoing changes. Used for read-only calendars where outgoing could never be applied — surfacing them as pending pushes is misleading.
Auto Trait Implementations§
impl Freeze for CalendarDiff
impl RefUnwindSafe for CalendarDiff
impl Send for CalendarDiff
impl Sync for CalendarDiff
impl Unpin for CalendarDiff
impl UnsafeUnpin for CalendarDiff
impl UnwindSafe for CalendarDiff
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