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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request