Struct fruently::record::Record
[−]
[src]
pub struct Record<T: Serialize> { /* fields omitted */ }
Methods
impl<T: Serialize> Record<T>
[src]
Trait Implementations
impl<T: Debug + Serialize> Debug for Record<T>
[src]
impl<T: Clone + Serialize> Clone for Record<T>
[src]
fn clone(&self) -> Record<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 Record<T>
[src]
fn eq(&self, __arg_0: &Record<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: &Record<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq + Serialize> Eq for Record<T>
[src]
impl<T: Serialize> Dumpable for Record<T>
[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