Struct fruently::event_record::EventRecord
[−]
[src]
pub struct EventRecord<T: Serialize> { /* fields omitted */ }
Methods
impl<T: Serialize> EventRecord<T>
[src]
fn new(tag: String, time: Tm, record: T) -> EventRecord<T>
[src]
Trait Implementations
impl<T: Debug + Serialize> Debug for EventRecord<T>
[src]
impl<T: Clone + Serialize> Clone for EventRecord<T>
[src]
fn clone(&self) -> EventRecord<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + Serialize> PartialEq for EventRecord<T>
[src]
fn eq(&self, __arg_0: &EventRecord<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EventRecord<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq + Serialize> Eq for EventRecord<T>
[src]
impl<T: Serialize> Dumpable for EventRecord<T>
[src]
impl<T: Serialize> Serialize for EventRecord<T>
[src]
Construct custom encoding json/msgpack style.
Because Record
struct should map following style msgpack with ExtType:
[tag, [eventtime, record]]
ref: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#message-modes