Struct wikidump::PageRevision
source · pub struct PageRevision {
pub text: String,
pub raw: String,
}
Expand description
Represents a specific revision of a page. This means a certain version of the page a specific time with some text contents which was created by some contributor.
Fields§
§text: String
The text content of the page. Depending on whether the parser is processing wiki text or not, this could either be the raw wiki text or it could be an interpreted representation.
raw: String
The raw wiki text of the page. This is always the unprocessed, verbatim text of the page.
Trait Implementations§
source§impl Clone for PageRevision
impl Clone for PageRevision
source§fn clone(&self) -> PageRevision
fn clone(&self) -> PageRevision
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PageRevision
impl RefUnwindSafe for PageRevision
impl Send for PageRevision
impl Sync for PageRevision
impl Unpin for PageRevision
impl UnwindSafe for PageRevision
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)