pub enum TitleResolution {
Unique(PageId),
NotFound,
Ambiguous(Vec<PageId>),
}Expand description
Result of resolving a page by title.
Variants§
Unique(PageId)
A unique page id was resolved.
NotFound
No matching title found.
Ambiguous(Vec<PageId>)
Multiple candidate page ids matched.
Trait Implementations§
Source§impl Clone for TitleResolution
impl Clone for TitleResolution
Source§fn clone(&self) -> TitleResolution
fn clone(&self) -> TitleResolution
Returns a duplicate of the value. Read more
1.0.0 · 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 TitleResolution
impl Debug for TitleResolution
Source§impl PartialEq for TitleResolution
impl PartialEq for TitleResolution
impl Eq for TitleResolution
impl StructuralPartialEq for TitleResolution
Auto Trait Implementations§
impl Freeze for TitleResolution
impl RefUnwindSafe for TitleResolution
impl Send for TitleResolution
impl Sync for TitleResolution
impl Unpin for TitleResolution
impl UnsafeUnpin for TitleResolution
impl UnwindSafe for TitleResolution
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