pub struct ProcessEventDraft<T = AnyValue> {
pub id: Option<String>,
pub event_type: String,
pub payload: T,
pub process_id: Option<String>,
pub correlation_id: Option<String>,
pub causation_id: Option<String>,
}Expand description
ProcessEventDraft data container.
Fields§
§id: Option<String>id field for id.
event_type: Stringevent_type field for event type.
payload: Tpayload field for payload.
process_id: Option<String>process_id field for process id.
correlation_id: Option<String>correlation_id field for correlation id.
causation_id: Option<String>causation_id field for causation id.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for ProcessEventDraft<T>
impl<T: Clone> Clone for ProcessEventDraft<T>
Source§fn clone(&self) -> ProcessEventDraft<T>
fn clone(&self) -> ProcessEventDraft<T>
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<T: Debug> Debug for ProcessEventDraft<T>
impl<T: Debug> Debug for ProcessEventDraft<T>
Source§impl<T: PartialEq> PartialEq for ProcessEventDraft<T>
impl<T: PartialEq> PartialEq for ProcessEventDraft<T>
impl<T> StructuralPartialEq for ProcessEventDraft<T>
Auto Trait Implementations§
impl<T> Freeze for ProcessEventDraft<T>where
T: Freeze,
impl<T> RefUnwindSafe for ProcessEventDraft<T>where
T: RefUnwindSafe,
impl<T> Send for ProcessEventDraft<T>where
T: Send,
impl<T> Sync for ProcessEventDraft<T>where
T: Sync,
impl<T> Unpin for ProcessEventDraft<T>where
T: Unpin,
impl<T> UnsafeUnpin for ProcessEventDraft<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ProcessEventDraft<T>where
T: UnwindSafe,
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