[][src]Struct wikidump::Site

pub struct Site {
    pub name: String,
    pub url: String,
    pub pages: Vec<Page>,
}

Represents a Mediawiki website, like Wikipedia, for example.

Fields

name: String

The name of the website, e.g., "Wikipedia".

url: String

The base URL of the website, e.g., "https://en.wikipedia.org/wiki/Main_Page".

pages: Vec<Page>

The wiki pages belonging to the website.

Trait Implementations

impl Debug for Site[src]

Auto Trait Implementations

impl Send for Site

impl Unpin for Site

impl Sync for Site

impl UnwindSafe for Site

impl RefUnwindSafe for Site

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]