pub struct RealtimeProject {
pub identifier: String,
pub name: String,
pub url: String,
pub version: String,
pub date_modified: DateTime<Utc>,
pub size: Size,
pub in_language: SimplifiedLanguage,
}Expand description
Realtime project information (used in streaming API).
Realtime API uses a different project structure with version and size information for the stream.
Fields§
§identifier: StringProject identifier (e.g., “enwiki”)
name: StringProject name
url: StringProject URL
version: StringProject version
date_modified: DateTime<Utc>Last modification timestamp
size: SizeProject size
in_language: SimplifiedLanguageLanguage information (simplified)
Trait Implementations§
Source§impl Clone for RealtimeProject
impl Clone for RealtimeProject
Source§fn clone(&self) -> RealtimeProject
fn clone(&self) -> RealtimeProject
Returns a duplicate 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 moreSource§impl Debug for RealtimeProject
impl Debug for RealtimeProject
Source§impl<'de> Deserialize<'de> for RealtimeProject
impl<'de> Deserialize<'de> for RealtimeProject
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RealtimeProject
impl PartialEq for RealtimeProject
Source§impl Serialize for RealtimeProject
impl Serialize for RealtimeProject
impl StructuralPartialEq for RealtimeProject
Auto Trait Implementations§
impl Freeze for RealtimeProject
impl RefUnwindSafe for RealtimeProject
impl Send for RealtimeProject
impl Sync for RealtimeProject
impl Unpin for RealtimeProject
impl UnsafeUnpin for RealtimeProject
impl UnwindSafe for RealtimeProject
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