Trait mwapi_responses::ApiResponse
source · [−]pub trait ApiResponse<T> {
fn params() -> &'static [(&'static str, &'static str)];
fn items(&self) -> Iter<'_, T>;
fn into_items(self) -> IntoIter<T>;
fn title_map(&self) -> HashMap<String, String> { ... }
}
Required Methods
Get the request params to send to the API
sourcefn into_items(self) -> IntoIter<T>
fn into_items(self) -> IntoIter<T>
Iterate and own over main items in this request