Struct fruently::record::Record [] [src]

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

Methods

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

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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

[src]

This method tests for !=.

impl<T: Eq + Serialize> Eq for Record<T>
[src]

impl<T: Serialize> Dumpable for Record<T>
[src]

[src]

impl<T: Serialize> Serialize for Record<T>
[src]

Construct custom encoding json/msgpack style.

Because Record struct should map following style json/msgpack:

[tag, unixtime/eventtime, record]

ref: https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v0#message-mode

[src]

Serialize this value into the given Serde serializer. Read more