pub struct GenerateViewsConfig {
pub schema_path: String,
pub entity: String,
pub view: String,
pub refresh_strategy: RefreshStrategy,
pub output: Option<String>,
pub include_composition_views: bool,
pub include_monitoring: bool,
pub validate_only: bool,
pub verbose: bool,
}Expand description
Configuration for view generation
Fields§
§schema_path: StringPath to schema.json file
entity: StringEntity name (e.g., “User”, “Order”)
view: StringView name (e.g., “tv_user_profile”, “ta_orders”)
refresh_strategy: RefreshStrategyRefresh strategy for view updates
output: Option<String>Output file path (or None for stdout)
include_composition_views: boolInclude helper/composition views
include_monitoring: boolInclude monitoring functions (performance tracking, etc.)
validate_only: boolValidate only, don’t write file
verbose: boolShow generation steps
Trait Implementations§
Source§impl Clone for GenerateViewsConfig
impl Clone for GenerateViewsConfig
Source§fn clone(&self) -> GenerateViewsConfig
fn clone(&self) -> GenerateViewsConfig
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 moreAuto Trait Implementations§
impl Freeze for GenerateViewsConfig
impl RefUnwindSafe for GenerateViewsConfig
impl Send for GenerateViewsConfig
impl Sync for GenerateViewsConfig
impl Unpin for GenerateViewsConfig
impl UnwindSafe for GenerateViewsConfig
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