[][src]Trait serde_gelf::GelfRecordSetter

pub trait GelfRecordSetter {
    fn message_mut(&mut self) -> &mut String;
fn timestamp_mut(&mut self) -> &mut f64;
fn level_mut(&mut self) -> &mut GelfLevel;
fn additional_fields_mut(&mut self) -> &mut BTreeMap<String, Value>;
fn facility_mut(&mut self) -> &mut String;
fn line_mut(&mut self) -> &mut u32;
fn file_mut(&mut self) -> &mut String;
fn full_message_mut(&mut self) -> &mut Option<String>; }

Trait to update GelfRecord attributes.

Required methods

fn message_mut(&mut self) -> &mut String

Return the GelfRecord.message as mutable.

fn timestamp_mut(&mut self) -> &mut f64

Return the GelfRecord.timestamp as mutable.

fn level_mut(&mut self) -> &mut GelfLevel

Return the GelfRecord.level as mutable.

fn additional_fields_mut(&mut self) -> &mut BTreeMap<String, Value>

Return the GelfRecord.additional_fields as mutable.

fn facility_mut(&mut self) -> &mut String

Return the GelfRecord.facility as mutable.

fn line_mut(&mut self) -> &mut u32

Return the GelfRecord.line as mutable.

fn file_mut(&mut self) -> &mut String

Return the GelfRecord.full_message as mutable.

fn full_message_mut(&mut self) -> &mut Option<String>

Return the GelfRecord.full_message as mutable.

Loading content...

Implementors

Loading content...