pub enum TapEvent {
Record {
id: u64,
record: RecordEvent,
},
Identity {
id: u64,
identity: IdentityEvent,
},
}Expand description
A TAP event received from the stream.
TAP delivers two types of events:
Record: Repository record changes (create, update, delete)Identity: Identity/handle changes for accounts
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TapEvent
impl<'de> Deserialize<'de> for TapEvent
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
Auto Trait Implementations§
impl Freeze for TapEvent
impl RefUnwindSafe for TapEvent
impl Send for TapEvent
impl Sync for TapEvent
impl Unpin for TapEvent
impl UnsafeUnpin for TapEvent
impl UnwindSafe for TapEvent
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