Struct archivist_lib::events::types::ValidatedEventHeader
source · pub struct ValidatedEventHeader {
pub event_type: EventType,
pub component_url: String,
pub moniker: String,
pub timestamp: i64,
}
Fields§
§event_type: EventType
§component_url: String
§moniker: String
§timestamp: i64
Trait Implementations§
source§impl Debug for ValidatedEventHeader
impl Debug for ValidatedEventHeader
source§impl From<ValidatedEventHeader> for EventHeader
impl From<ValidatedEventHeader> for EventHeader
source§fn from(src: ValidatedEventHeader) -> EventHeader
fn from(src: ValidatedEventHeader) -> EventHeader
Converts to this type from the input type.
source§impl TryFrom<EventHeader> for ValidatedEventHeader
impl TryFrom<EventHeader> for ValidatedEventHeader
§type Error = EventHeaderValidationError
type Error = EventHeaderValidationError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ValidatedEventHeader
impl RefUnwindSafe for ValidatedEventHeader
impl Send for ValidatedEventHeader
impl Sync for ValidatedEventHeader
impl Unpin for ValidatedEventHeader
impl UnwindSafe for ValidatedEventHeader
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