pub type EnumVariantWalker<'a> = Walker<'a, EnumVariantId>;
Expand description

Traverse an enum variant.

Aliased Type§

struct EnumVariantWalker<'a> {
    pub id: EnumVariantId,
    pub schema: &'a SqlSchema,
}

Fields§

§id: EnumVariantId

The identifier.

§schema: &'a SqlSchema

The schema for which the identifier is valid.

Implementations§

source§

impl<'a> EnumVariantWalker<'a>

source

pub fn enum(self) -> EnumWalker<'a>

The parent enum.

source

pub fn name(self) -> &'a str

The variant itself.