pub struct ArticleUpdate {
pub event_type: EventType,
pub article: Article,
pub event_metadata: EventMetadata,
}Expand description
Article update event for Realtime API.
Combines article data with event metadata for Realtime streams.
Fields§
§event_type: EventTypeEvent type
article: ArticleArticle data
event_metadata: EventMetadataEvent metadata
Trait Implementations§
Source§impl Clone for ArticleUpdate
impl Clone for ArticleUpdate
Source§fn clone(&self) -> ArticleUpdate
fn clone(&self) -> ArticleUpdate
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 ArticleUpdate
impl Debug for ArticleUpdate
Source§impl<'de> Deserialize<'de> for ArticleUpdate
impl<'de> Deserialize<'de> for ArticleUpdate
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 ArticleUpdate
impl PartialEq for ArticleUpdate
Source§impl Serialize for ArticleUpdate
impl Serialize for ArticleUpdate
impl StructuralPartialEq for ArticleUpdate
Auto Trait Implementations§
impl Freeze for ArticleUpdate
impl RefUnwindSafe for ArticleUpdate
impl Send for ArticleUpdate
impl Sync for ArticleUpdate
impl Unpin for ArticleUpdate
impl UnsafeUnpin for ArticleUpdate
impl UnwindSafe for ArticleUpdate
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