pub type CompositeField = Zipper<CompositeFieldId>;

Aliased Type§

struct CompositeField {
    pub id: CompositeFieldId,
    pub dm: InternalDataModel,
}

Fields§

§id: CompositeFieldId§dm: InternalDataModel

Implementations§

source§

impl CompositeField

source

pub fn borrowed_name<'a>(&self, schema: &'a ValidatedSchema) -> &'a str

source

pub fn arity(&self) -> FieldArity

source

pub fn typ(&self) -> CompositeType

source

pub fn is_list(&self) -> bool

source

pub fn is_required(&self) -> bool

source

pub fn is_optional(&self) -> bool

source

pub fn name(&self) -> &str

source

pub fn db_name(&self) -> &str

source

pub fn container(&self) -> ParentContainer

Trait Implementations§

source§

impl Debug for CompositeField

source§

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

Formats the value using the given formatter. Read more
source§

impl Display for CompositeField

source§

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

Formats the value using the given formatter. Read more