pub type CompositeType = Zipper<CompositeTypeId>;

Aliased Type§

struct CompositeType {
    pub id: CompositeTypeId,
    pub dm: InternalDataModel,
}

Fields§

§id: CompositeTypeId§dm: InternalDataModel

Implementations§

source§

impl CompositeType

source

pub fn name(&self) -> &str

source

pub fn fields(&self) -> impl Iterator<Item = Field> + '_

source

pub fn find_field(&self, prisma_name: &str) -> Option<Field>

source

pub fn find_field_by_db_name(&self, db_name: &str) -> Option<Field>

Trait Implementations§

source§

impl Debug for CompositeType

source§

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

Formats the value using the given formatter. Read more