Struct Editor Tagged Union 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 EditorTaggedUnionSpec {
    pub discriminator: &'static str,
    pub variants: &'static [EditorVariantSpec],
}

Metadata used to edit a tagged union value.

Fields

discriminator: &'static str

Field that selects the active variant.

variants: &'static [EditorVariantSpec]

Available tagged-union variants.

Trait Implementations

impl Clone for EditorTaggedUnionSpec

impl Clone for EditorTaggedUnionSpec

clone

fn clone(&self) -> EditorTaggedUnionSpec

clone_from

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

impl Copy for EditorTaggedUnionSpec

impl Copy for EditorTaggedUnionSpec