Enum Editor Field Kind

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

1pub enum EditorFieldKind {
2Show 13 variants Boolean,
3 String,
4 Integer,
5 Float,
6 Enum,
7 IntegerEnum,
8 StringMap,
9 Json,
10 List,
11 Map,
12 TaggedUnion,
13 DiscriminatedSection,
14 Section,
15}

Editor control shape for one configuration field.

Variants

Boolean

Boolean

Boolean toggle.

String

String

String-like value, including paths.

Integer

Integer

Integer value.

Float

Float

Floating-point number value.

Enum

Enum

Value selected from a fixed set of allowed choices.

IntegerEnum

IntegerEnum

Integer value selected from a fixed set of allowed choices.

StringMap

StringMap

Object with string keys and string values.

Json

Json

Arbitrary JSON value.

List

List

A collection whose entries are edited recursively.

Map

Map

A string-keyed map whose values are edited recursively.

TaggedUnion

TaggedUnion

A tagged object whose variant is selected from a discriminator field.

DiscriminatedSection

DiscriminatedSection

A nested section selected by a discriminator field in its parent object.

Section

Section

Nested configuration section.

Trait Implementations

impl Clone for EditorFieldKind

impl Clone for EditorFieldKind

clone

fn clone(&self) -> EditorFieldKind

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for EditorFieldKind

impl Debug for EditorFieldKind

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for EditorFieldKind

impl PartialEq for EditorFieldKind

eq

fn eq(&self, other: &EditorFieldKind) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Copy for EditorFieldKind

impl Copy for EditorFieldKind

impl Eq for EditorFieldKind

impl Eq for EditorFieldKind

impl StructuralPartialEq for EditorFieldKind

impl StructuralPartialEq for EditorFieldKind