pub struct EntityIr {Show 14 fields
pub id: EntityId,
pub rust_name: String,
pub api_name: String,
pub label: String,
pub table_name: String,
pub fields: Vec<FieldIr>,
pub indexes: Vec<IndexIr>,
pub access: CrudAccessIr,
pub views: EntityViewsIr,
pub hooks: HooksIr,
pub concurrency: ConcurrencyIr,
pub tenant_scoped: bool,
pub audit_enabled: bool,
pub workflow: Option<WorkflowIr>,
}Fields§
§id: EntityId§rust_name: String§api_name: String§label: String§table_name: String§fields: Vec<FieldIr>§indexes: Vec<IndexIr>§access: CrudAccessIr§views: EntityViewsIr§hooks: HooksIr§concurrency: ConcurrencyIr§tenant_scoped: bool§audit_enabled: bool§workflow: Option<WorkflowIr>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntityIr
impl<'de> Deserialize<'de> for EntityIr
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
impl Eq for EntityIr
impl StructuralPartialEq for EntityIr
Auto Trait Implementations§
impl Freeze for EntityIr
impl RefUnwindSafe for EntityIr
impl Send for EntityIr
impl Sync for EntityIr
impl Unpin for EntityIr
impl UnsafeUnpin for EntityIr
impl UnwindSafe for EntityIr
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