pub struct DbFieldCategory {
pub id: i64,
pub intern_code: String,
pub name: String,
pub table: String,
pub extra: Map<String, Value>,
}Expand description
Stored field category and its underlying entity table. Use internCode when creating a field.
Fields§
§id: i64§intern_code: StringField category: f_address (person address/contact), f_church (person church information), f_category (person categories), f_group (group data), f_dep (departments), f_growpath (person growth-path data), or f_datasecurity (person privacy information). These are category codes, not entity IDs.
Allowed values: f_address, f_category, f_church, f_datasecurity, f_dep, f_group, f_growpath.
name: String§table: String§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for DbFieldCategory
impl Clone for DbFieldCategory
Source§impl Debug for DbFieldCategory
impl Debug for DbFieldCategory
Source§impl Default for DbFieldCategory
impl Default for DbFieldCategory
Source§impl<'de> Deserialize<'de> for DbFieldCategory
impl<'de> Deserialize<'de> for DbFieldCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DbFieldCategory
impl PartialEq for DbFieldCategory
Source§impl Serialize for DbFieldCategory
impl Serialize for DbFieldCategory
impl StructuralPartialEq for DbFieldCategory
Auto Trait Implementations§
impl Forget for DbFieldCategory
impl Freeze for DbFieldCategory
impl Move for DbFieldCategory
impl RefUnwindSafe for DbFieldCategory
impl Send for DbFieldCategory
impl Sync for DbFieldCategory
impl Unpin for DbFieldCategory
impl UnsafeUnpin for DbFieldCategory
impl UnwindSafe for DbFieldCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more