Struct Editor List Item Spec

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.

pub struct EditorListItemSpec {
    pub kind: EditorFieldKind,
    pub schema: Option<fn() -> &'static EditorSchema>,
    pub default: Option<fn() -> Value>,
    pub tagged_union: Option<&'static EditorTaggedUnionSpec>,
    pub list_item: Option<&'static EditorListItemSpec>,
}

Recursive metadata for one list entry.

Fields

kind: EditorFieldKind

Shape of each list entry.

schema: Option<fn() -> &'static EditorSchema>

Schema used for object entries.

default: Option<fn() -> Value>

Default value used for non-union entries.

tagged_union: Option<&'static EditorTaggedUnionSpec>

Variant metadata when this list entry is a tagged union.

list_item: Option<&'static EditorListItemSpec>

Nested list entry description when this item is itself a list.

Trait Implementations

impl Clone for EditorListItemSpec

impl Clone for EditorListItemSpec

clone

fn clone(&self) -> EditorListItemSpec

clone_from

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

impl Copy for EditorListItemSpec

impl Copy for EditorListItemSpec