pub struct SchemaConfig {
pub networks: Vec<String>,
pub root_query_name: String,
pub stats_callback: Option<StatsCallback>,
}Expand description
Configuration for supported networks (chains) and optional stats collection.
Fields§
§networks: Vec<String>§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.
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