pub struct Page {
pub title: String,
pub pageid: usize,
pub content: Document,
pub language: Language,
pub language_links: Option<Vec<LanguageLink>>,
pub sections: Option<Vec<Section>>,
pub revision_id: Option<usize>,
}
Fields§
§title: String
§pageid: usize
§content: Document
§language: Language
§language_links: Option<Vec<LanguageLink>>
§sections: Option<Vec<Section>>
§revision_id: Option<usize>
Implementations§
Trait Implementations§
impl Eq for Page
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.