pub enum Validity {
Valid,
Reupload,
Replace,
}
Expand description
Synced item validity.
Variants
Valid
The item is valid, and can be applied as-is.
Reupload
The item can be applied, but should also be flagged for reupload. Places uses this to rewrite legacy tag queries.
Replace
The item isn’t valid at all, and should either be replaced with a valid local copy, or deleted if a valid local copy doesn’t exist. Places uses this to flag bookmarks and queries without valid URLs.
Trait Implementations
impl Copy for Validity
impl Eq for Validity
impl StructuralEq for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations
impl RefUnwindSafe for Validity
impl Send for Validity
impl Sync for Validity
impl Unpin for Validity
impl UnwindSafe for Validity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more