Trait SerializableValue

Source
pub trait SerializableValue: Sealed {
    const FORMAT_OF_VALUE: Format;
}
Expand description

Before unsealing this, consider whether your code belongs in this file.

Required Associated Constants§

Source

const FORMAT_OF_VALUE: Format

The Format of this SerializableValue. Either Logs or Inspect.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SerializableValue for Value

Source§

const FORMAT_OF_VALUE: Format = Format::Json

Source§

impl SerializableValue for Value

Source§

const FORMAT_OF_VALUE: Format = Format::Cbor

Implementors§