pub struct EventMessageOptions {
pub id: String,
pub key: Option<String>,
pub subject_id: Option<String>,
pub correlation_id: Option<String>,
pub causation_id: Option<String>,
pub occurred_at_ms: Option<u64>,
pub actor: Option<String>,
pub evidence_refs: Vec<String>,
pub schema: Option<JsonSchema>,
pub metadata: Option<BTreeMap<String, JsonValue>>,
}Expand description
EventMessageOptions data container.
Fields§
§id: Stringid field for id.
key: Option<String>key field for key.
subject_id: Option<String>subject_id field for subject id.
correlation_id: Option<String>correlation_id field for correlation id.
causation_id: Option<String>causation_id field for causation id.
occurred_at_ms: Option<u64>occurred_at_ms field for occurred at ms.
actor: Option<String>actor field for actor.
evidence_refs: Vec<String>evidence_refs field for evidence refs.
schema: Option<JsonSchema>schema field for schema.
metadata: Option<BTreeMap<String, JsonValue>>metadata field for metadata.
Trait Implementations§
Source§impl Clone for EventMessageOptions
impl Clone for EventMessageOptions
Source§fn clone(&self) -> EventMessageOptions
fn clone(&self) -> EventMessageOptions
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 EventMessageOptions
impl Debug for EventMessageOptions
Source§impl Default for EventMessageOptions
impl Default for EventMessageOptions
Source§fn default() -> EventMessageOptions
fn default() -> EventMessageOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for EventMessageOptions
impl PartialEq for EventMessageOptions
impl StructuralPartialEq for EventMessageOptions
Auto Trait Implementations§
impl Freeze for EventMessageOptions
impl RefUnwindSafe for EventMessageOptions
impl Send for EventMessageOptions
impl Sync for EventMessageOptions
impl Unpin for EventMessageOptions
impl UnsafeUnpin for EventMessageOptions
impl UnwindSafe for EventMessageOptions
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