pub enum Property {
Size,
WordCount,
Timestamp,
Snippet,
TitleSnippet,
RedirectTitle,
RedirectSnippet,
SectionTitle,
SectionSnippet,
IsFileMatch,
CategorySnippet,
}
Expand description
A Page property
Variants§
Size
The size of the page in bytes
WordCount
The word count of the page
Timestamp
The timestamp wof when the page was last edited
Snippet
Snippet of the page, with query term highlighting markup
TitleSnippet
Page title, with query term highlighting markup
RedirectTitle
Title of the matching redirect
RedirectSnippet
Title of the matching redirect, with query term highlighting markup
SectionTitle
Title of the matching section
SectionSnippet
Title of the matching section, with query term highlighting markup
IsFileMatch
Indicator whether the search matched file content
CategorySnippet
Matching category name, with query term highlighting markup
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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