pub struct NewOutboxItem {
pub tenant_id: String,
pub subject_id: String,
pub idempotency_key: String,
pub channel: String,
pub recipient: String,
pub notification: Notification,
}Expand description
A notification to enqueue.
Fields§
§tenant_id: StringTenant that owns the notification.
subject_id: StringSubject the notification is about.
idempotency_key: StringCaller-supplied key that makes repeated submissions return the first result.
channel: StringChannel the notification is routed to.
recipient: StringChannel-specific recipient address.
notification: NotificationThe notification to deliver.
Trait Implementations§
Source§impl Clone for NewOutboxItem
impl Clone for NewOutboxItem
Source§fn clone(&self) -> NewOutboxItem
fn clone(&self) -> NewOutboxItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewOutboxItem
impl Debug for NewOutboxItem
Source§impl PartialEq for NewOutboxItem
impl PartialEq for NewOutboxItem
impl StructuralPartialEq for NewOutboxItem
Auto Trait Implementations§
impl Freeze for NewOutboxItem
impl RefUnwindSafe for NewOutboxItem
impl Send for NewOutboxItem
impl Sync for NewOutboxItem
impl Unpin for NewOutboxItem
impl UnsafeUnpin for NewOutboxItem
impl UnwindSafe for NewOutboxItem
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