[−][src]Struct eventstreams::LogEvent
Represents a log entry
Fields
namespace: i32
Namespace ID
title: String
Prefixed title (includes namespace name)
comment: String
Edit summary (comment_text)
parsedcomment: String
HTML-parsed version of comment
timestamp: u32
Unix timestamp
user: String
Username (actor_name)
bot: bool
Whether the edit was flagged as by a bot (rc_bot)
log_id: u32
log_type: String
log_action: String
log_params: Value
log_action_comment: String
server_url: String
URL of wiki with protocol, e.g. https://www.wikidata.org
server_name: String
Domain of wiki with no protocol, e.g. www.wikidata.org
or en.wikipedia.org
server_script_path: String
Base URL path of wiki ($wgScriptPath)
wiki: String
Internal database name (usually $wgDBname)
Implementations
impl LogEvent
[src]
pub fn api_url(&self) -> String
[src]
URL to the wiki's api.php ("Action API") endpoint
Trait Implementations
impl Clone for LogEvent
[src]
impl Debug for LogEvent
[src]
impl<'de> Deserialize<'de> for LogEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for LogEvent
impl Send for LogEvent
impl Sync for LogEvent
impl Unpin for LogEvent
impl UnwindSafe for LogEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,