Closed apps4uco closed 2 years ago
FieldType is use in a public api but it is not currently exported.
let ft:FieldType=field.field_type();
Error: cannot find type FieldType in this scope
FieldType
Documentation Link:
pub fn field_type(&self) -> FieldType
There is a non ideal workaround of
let field_type:u8=field.field_type().into();
However it would be a fairly simple fix to make the relevant module public or move the enum into a public module,
Indeed this is missing 😳, i'll add it
FieldType is use in a public api but it is not currently exported.
Error: cannot find type
FieldType
in this scopeDocumentation Link:
pub fn field_type(&self) -> FieldType
There is a non ideal workaround of
However it would be a fairly simple fix to make the relevant module public or move the enum into a public module,