logo
pub struct JsonVisitor<'a> { /* private fields */ }
Expand description

The visitor produced by JsonFields’s MakeVisitor implementation.

Implementations

Returns a new default visitor that formats to the provided writer.

Arguments
  • writer: the writer to format to.
  • is_empty: whether or not any fields have been previously written to that writer.

Trait Implementations

Formats the value using the given formatter. Read more

Visit a double precision floating point value.

Visit a signed 64-bit integer value.

Visit an unsigned 64-bit integer value.

Visit a boolean value.

Visit a string value.

Visit a value implementing fmt::Debug.

Records a type implementing Error. Read more

Returns the formatter that this visitor writes to.

Completes the visitor, returning any output. Read more

Visit a set of fields, and return the output of finishing the visitor once the fields have been visited. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more