pub struct SingleDocumentLiveQueryEvent { /* private fields */ }
Implementations
sourceimpl SingleDocumentLiveQueryEvent
impl SingleDocumentLiveQueryEvent
pub fn is_initial(&self) -> bool
pub fn old_document(&self) -> &Option<BoxedDocument>
sourceimpl SingleDocumentLiveQueryEvent
impl SingleDocumentLiveQueryEvent
pub fn hash(&self, doc: &Option<BoxedDocument>) -> Result<u64, DittoError>
pub fn hash_mnemonic(
&self,
doc: &Option<BoxedDocument>
) -> Result<String, DittoError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SingleDocumentLiveQueryEvent
impl Send for SingleDocumentLiveQueryEvent
impl Sync for SingleDocumentLiveQueryEvent
impl Unpin for SingleDocumentLiveQueryEvent
impl UnwindSafe for SingleDocumentLiveQueryEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more