Struct fruently::event_record::EventRecord [] [src]

pub struct EventRecord<T: Serialize> { /* fields omitted */ }

Methods

impl<T: Serialize> EventRecord<T>
[src]

Trait Implementations

impl<T: Debug + Serialize> Debug for EventRecord<T>
[src]

Formats the value using the given formatter.

impl<T: Clone + Serialize> Clone for EventRecord<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq + Serialize> PartialEq for EventRecord<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

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-v0#message-mode

Serialize this value into the given Serde serializer. Read more