Struct logger::Format
[−]
[src]
pub struct Format(_);
A formatting style for the Logger
, consisting of multiple
FormatText
s concatenated into one line.
Methods
impl Format
[src]
fn new(s: &str) -> Option<Format>
[src]
Create a Format
from a format string, which can contain the fields
{method}
, {uri}
, {status}
, {response-time}
, {ip-addr}
and
{request-time}
.
Returns None
if the format string syntax is incorrect.
Trait Implementations
impl Clone for Format
[src]
fn clone(&self) -> Format
[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