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 {
2 Boolean,
3 String,
4 Integer,
5 Float,
6 Enum,
7 StringMap,
8 Json,
9 List,
10 TaggedUnion,
11 Section,
12}

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

String enum with a fixed set of allowed values.

StringMap

StringMap

Object with string keys and string values.

Json

Json

Arbitrary JSON value.

List

List

A collection whose entries are edited recursively.

TaggedUnion

TaggedUnion

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

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