pub struct IntermediateSchema {Show 15 fields
pub version: String,
pub types: Vec<IntermediateType>,
pub enums: Vec<IntermediateEnum>,
pub input_types: Vec<IntermediateInputObject>,
pub interfaces: Vec<IntermediateInterface>,
pub unions: Vec<IntermediateUnion>,
pub queries: Vec<IntermediateQuery>,
pub mutations: Vec<IntermediateMutation>,
pub subscriptions: Vec<IntermediateSubscription>,
pub fragments: Option<Vec<IntermediateFragment>>,
pub directives: Option<Vec<IntermediateDirective>>,
pub fact_tables: Option<Vec<IntermediateFactTable>>,
pub aggregate_queries: Option<Vec<IntermediateAggregateQuery>>,
pub observers: Option<Vec<IntermediateObserver>>,
pub security: Option<Value>,
}Expand description
Intermediate schema - universal format from all language libraries
Fields§
§version: StringSchema format version
types: Vec<IntermediateType>GraphQL object types
enums: Vec<IntermediateEnum>GraphQL enum types
input_types: Vec<IntermediateInputObject>GraphQL input object types
interfaces: Vec<IntermediateInterface>GraphQL interface types (per GraphQL spec §3.7)
unions: Vec<IntermediateUnion>GraphQL union types (per GraphQL spec §3.10)
queries: Vec<IntermediateQuery>GraphQL queries
mutations: Vec<IntermediateMutation>GraphQL mutations
subscriptions: Vec<IntermediateSubscription>GraphQL subscriptions
fragments: Option<Vec<IntermediateFragment>>GraphQL fragments (reusable field selections)
directives: Option<Vec<IntermediateDirective>>GraphQL directive definitions (custom directives)
fact_tables: Option<Vec<IntermediateFactTable>>Analytics fact tables (optional)
aggregate_queries: Option<Vec<IntermediateAggregateQuery>>Analytics aggregate queries (optional)
observers: Option<Vec<IntermediateObserver>>Observer definitions (database change event listeners)
security: Option<Value>Security configuration (from fraiseql.toml) Compiled from the security section of fraiseql.toml at compile time. Optional - if not provided, defaults are used.
Trait Implementations§
Source§impl Clone for IntermediateSchema
impl Clone for IntermediateSchema
Source§fn clone(&self) -> IntermediateSchema
fn clone(&self) -> IntermediateSchema
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntermediateSchema
impl Debug for IntermediateSchema
Source§impl Default for IntermediateSchema
impl Default for IntermediateSchema
Source§fn default() -> IntermediateSchema
fn default() -> IntermediateSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntermediateSchema
impl<'de> Deserialize<'de> for IntermediateSchema
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 IntermediateSchema
impl PartialEq for IntermediateSchema
Source§impl Serialize for IntermediateSchema
impl Serialize for IntermediateSchema
impl StructuralPartialEq for IntermediateSchema
Auto Trait Implementations§
impl Freeze for IntermediateSchema
impl RefUnwindSafe for IntermediateSchema
impl Send for IntermediateSchema
impl Sync for IntermediateSchema
impl Unpin for IntermediateSchema
impl UnwindSafe for IntermediateSchema
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