pub enum SinkType {
Push,
InApp,
Feed,
WebSocket,
Webhook,
Counter,
Custom,
}Expand description
Available sink types
Variants§
Push
Push notifications (Expo, APNs, FCM)
InApp
In-app notification store (list, mark_as_read, unread_count)
Feed
Feed (ordered event stream per user)
WebSocket
WebSocket dispatch to connected clients
Webhook
HTTP webhook (POST/PUT to external URL)
Counter
Counter update on an entity field
Custom
Custom sink (user-provided implementation)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SinkType
impl<'de> Deserialize<'de> for SinkType
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
impl StructuralPartialEq for SinkType
Auto Trait Implementations§
impl Freeze for SinkType
impl RefUnwindSafe for SinkType
impl Send for SinkType
impl Sync for SinkType
impl Unpin for SinkType
impl UnsafeUnpin for SinkType
impl UnwindSafe for SinkType
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