pub struct SourceEvent {
pub event_id: u64,
pub src_key: SmolStr,
pub payload: RawData,
pub tags: Arc<Tags>,
pub ups_ip: Option<IpAddr>,
pub preproc: Option<EventPreHook>,
}Fields§
§event_id: u64§src_key: SmolStr§payload: RawData§ups_ip: Option<IpAddr>§preproc: Option<EventPreHook>可选:parse 线程在进入 WPL 前调用
Implementations§
Trait Implementations§
Source§impl Clone for SourceEvent
impl Clone for SourceEvent
Source§fn clone(&self) -> SourceEvent
fn clone(&self) -> SourceEvent
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 moreAuto Trait Implementations§
impl !Freeze for SourceEvent
impl !RefUnwindSafe for SourceEvent
impl Send for SourceEvent
impl Sync for SourceEvent
impl Unpin for SourceEvent
impl !UnwindSafe for SourceEvent
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