pub enum SubscriptionEvent {
Insert,
Update,
Delete,
Reorg,
}Expand description
The kinds of entity change events a subscription may emit.
Variants§
Insert
A new entity was inserted.
Update
An existing entity was updated (upsert).
Delete
An entity was deleted.
Reorg
Entities were rolled back due to a chain reorg.
Trait Implementations§
Source§impl Clone for SubscriptionEvent
impl Clone for SubscriptionEvent
Source§fn clone(&self) -> SubscriptionEvent
fn clone(&self) -> SubscriptionEvent
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 SubscriptionEvent
impl Debug for SubscriptionEvent
Source§impl<'de> Deserialize<'de> for SubscriptionEvent
impl<'de> Deserialize<'de> for SubscriptionEvent
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 SubscriptionEvent
impl PartialEq for SubscriptionEvent
Source§impl Serialize for SubscriptionEvent
impl Serialize for SubscriptionEvent
impl Eq for SubscriptionEvent
impl StructuralPartialEq for SubscriptionEvent
Auto Trait Implementations§
impl Freeze for SubscriptionEvent
impl RefUnwindSafe for SubscriptionEvent
impl Send for SubscriptionEvent
impl Sync for SubscriptionEvent
impl Unpin for SubscriptionEvent
impl UnsafeUnpin for SubscriptionEvent
impl UnwindSafe for SubscriptionEvent
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