pub struct ResolvedEntity {Show 19 fields
pub table_id: String,
pub schema_name: String,
pub table_name: String,
pub path_segment: String,
pub pk_columns: Vec<String>,
pub pk_type: PkType,
pub columns: Vec<ColumnInfo>,
pub operations: Vec<String>,
pub sensitive_columns: HashSet<String>,
pub includes: Vec<IncludeSpec>,
pub validation: HashMap<String, ValidationRule>,
pub events: Vec<EntityEventTrigger>,
pub archive_field: Option<String>,
pub package_id: String,
pub audit_log: bool,
pub parent_ref_column: Option<String>,
pub versioning: Option<VersioningConfig>,
pub mcp: Option<McpEntityConfig>,
pub extensible_columns: Vec<String>,
}Fields§
§table_id: String§schema_name: String§table_name: String§path_segment: String§pk_columns: Vec<String>§pk_type: PkType§columns: Vec<ColumnInfo>§operations: Vec<String>§sensitive_columns: HashSet<String>Column names to strip from all API responses (sensitive data).
includes: Vec<IncludeSpec>Available includes (related entities) for ?include= name1,name2. Built from relationships.
validation: HashMap<String, ValidationRule>§events: Vec<EntityEventTrigger>Decision-hub event triggers. Empty when no events are configured.
archive_field: Option<String>Column whose null→non-null transition signals an archive (for on:“archive” triggers).
package_id: StringPackage id this entity belongs to. Set via ResolvedModel::with_package_id().
audit_log: boolWhen true, a companion {table}_audit table exists and every write is journaled there.
parent_ref_column: Option<String>Natural-key column used to resolve parentRef in bulk create (e.g. "location_id").
versioning: Option<VersioningConfig>Row-level versioning config, carried from TableConfig.
mcp: Option<McpEntityConfig>MCP exposure config, carried from ApiEntityConfig. None when not set.
extensible_columns: Vec<String>Names of JSON/JSONB columns flagged extensible: true. Each is a extensible-fields bag
whose per-tenant field definitions live in the KV registry and whose keys are
RSQL-filterable/sortable via the <column>.<key> syntax. Empty when none configured.
Trait Implementations§
Source§impl Clone for ResolvedEntity
impl Clone for ResolvedEntity
Source§fn clone(&self) -> ResolvedEntity
fn clone(&self) -> ResolvedEntity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedEntity
impl RefUnwindSafe for ResolvedEntity
impl Send for ResolvedEntity
impl Sync for ResolvedEntity
impl Unpin for ResolvedEntity
impl UnsafeUnpin for ResolvedEntity
impl UnwindSafe for ResolvedEntity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more