Trait CommonField

Source
pub trait CommonField:
    DeserializeOwned
    + Serialize
    + 'static {
    const KEY: &'static str;
}
Expand description

Defines common used field with its key and type

Required Associated Constants§

Source

const KEY: &'static str

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.

Implementors§

Source§

impl CommonField for ProcessInfo

Source§

const KEY: &'static str = "process_info"

Source§

impl CommonField for SourceAddress

Source§

const KEY: &'static str = "source_address"