pub struct SchemaConfig {
pub chain_groups: Vec<ChainGroupConfig>,
pub root_query_name: String,
pub stats_callback: Option<StatsCallback>,
pub table_name_transform: Option<TableNameTransform>,
pub extra_types: Vec<Enum>,
}Expand description
Configuration for supported networks (chains) and optional stats collection.
Fields§
§chain_groups: Vec<ChainGroupConfig>§root_query_name: String§stats_callback: Option<StatsCallback>Optional callback invoked after each cube query with execution metadata. Used by application layer for billing, observability, etc.
table_name_transform: Option<TableNameTransform>Optional hook to transform table names based on chain context (e.g. dataset suffix).
extra_types: Vec<Enum>Additional global enum types to register in the schema (e.g. Dataset, Aggregates).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaConfig
impl !RefUnwindSafe for SchemaConfig
impl Send for SchemaConfig
impl Sync for SchemaConfig
impl Unpin for SchemaConfig
impl UnsafeUnpin for SchemaConfig
impl !UnwindSafe for SchemaConfig
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