Trait Field

Source
pub trait Field {
    type Value: Send + Sync + 'static;

    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'static str

Required Associated Types§

Source

type Value: Send + Sync + 'static

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 Field for QueryText

Source§

const NAME: &'static str = "source_code"

Source§

type Value = String