pub struct EventContent {
pub v: u8,
pub event_type: EventType,
pub subject: String,
pub effective_at: u64,
pub payload_ref: HashRef,
pub metadata: Vec<(String, MetaValue)>,
}Expand description
Event content (without id). metadata is flat string→scalar, max 16 entries.
Fields§
§v: u8§event_type: EventType§subject: String§effective_at: u64§payload_ref: HashRef§metadata: Vec<(String, MetaValue)>Trait Implementations§
Source§impl Clone for EventContent
impl Clone for EventContent
Source§impl Debug for EventContent
impl Debug for EventContent
impl Eq for EventContent
Source§impl PartialEq for EventContent
impl PartialEq for EventContent
impl StructuralPartialEq for EventContent
Auto Trait Implementations§
impl Freeze for EventContent
impl RefUnwindSafe for EventContent
impl Send for EventContent
impl Sync for EventContent
impl Unpin for EventContent
impl UnsafeUnpin for EventContent
impl UnwindSafe for EventContent
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