pub struct CreatedEvent {
pub content: EventContent,
pub canonical: Vec<u8>,
pub id: String,
}Expand description
A created event: validated content, canonical bytes, deterministic id.
Fields§
§content: EventContent§canonical: Vec<u8>§id: StringTrait Implementations§
Source§impl Clone for CreatedEvent
impl Clone for CreatedEvent
Auto Trait Implementations§
impl Freeze for CreatedEvent
impl RefUnwindSafe for CreatedEvent
impl Send for CreatedEvent
impl Sync for CreatedEvent
impl Unpin for CreatedEvent
impl UnsafeUnpin for CreatedEvent
impl UnwindSafe for CreatedEvent
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