pub struct BuildOptions { /* private fields */ }Expand description
BuildOptions
Host-provided actor generation options. Config parsing remains outside this crate; callers pass already-validated booleans into codegen.
Implementations§
Source§impl BuildOptions
impl BuildOptions
Sourcepub const fn with_sql_readonly_enabled(self, enabled: bool) -> Self
pub const fn with_sql_readonly_enabled(self, enabled: bool) -> Self
Build options with generated read-only SQL endpoint emission configured.
Sourcepub const fn with_sql_ddl_enabled(self, enabled: bool) -> Self
pub const fn with_sql_ddl_enabled(self, enabled: bool) -> Self
Build options with generated SQL DDL endpoint emission configured.
Sourcepub const fn with_sql_fixtures_enabled(self, enabled: bool) -> Self
pub const fn with_sql_fixtures_enabled(self, enabled: bool) -> Self
Build options with generated SQL fixture lifecycle endpoint emission configured.
Sourcepub const fn with_sql_integrity_enabled(self, enabled: bool) -> Self
pub const fn with_sql_integrity_enabled(self, enabled: bool) -> Self
Build options with generated administrative integrity endpoint emission configured.
Sourcepub const fn with_sql_introspection_enabled(self, enabled: bool) -> Self
pub const fn with_sql_introspection_enabled(self, enabled: bool) -> Self
Build options with generated read-only SQL introspection configured.
Sourcepub const fn with_sql_update_policy(
self,
policy: Option<BuildSqlUpdatePolicy>,
) -> Self
pub const fn with_sql_update_policy( self, policy: Option<BuildSqlUpdatePolicy>, ) -> Self
Build options with generated SQL update endpoint policy configured.
Sourcepub const fn with_metrics_enabled(self, enabled: bool) -> Self
pub const fn with_metrics_enabled(self, enabled: bool) -> Self
Build options with generated metrics report endpoint emission configured.
Sourcepub const fn with_metrics_extended_enabled(self, enabled: bool) -> Self
pub const fn with_metrics_extended_enabled(self, enabled: bool) -> Self
Build options with generated extended metrics report endpoint emission configured.
Sourcepub const fn with_snapshot_enabled(self, enabled: bool) -> Self
pub const fn with_snapshot_enabled(self, enabled: bool) -> Self
Build options with generated storage snapshot endpoint emission configured.
Sourcepub const fn with_schema_enabled(self, enabled: bool) -> Self
pub const fn with_schema_enabled(self, enabled: bool) -> Self
Build options with generated schema report endpoint emission configured.
Sourcepub const fn with_icydb_crate_path(self, path: &'static str) -> Self
pub const fn with_icydb_crate_path(self, path: &'static str) -> Self
Build options with an explicit path to the consumer’s icydb
dependency.
This is useful when package discovery is unavailable or the caller deliberately wants generated output to use a specific re-export.
Sourcepub const fn sql_readonly_enabled(self) -> bool
pub const fn sql_readonly_enabled(self) -> bool
Return whether generated actor glue should export the read-only SQL endpoint.
Sourcepub const fn sql_ddl_enabled(self) -> bool
pub const fn sql_ddl_enabled(self) -> bool
Return whether generated actor glue should export the SQL DDL endpoint.
Sourcepub const fn sql_fixtures_enabled(self) -> bool
pub const fn sql_fixtures_enabled(self) -> bool
Return whether generated actor glue should export SQL fixture lifecycle endpoints.
Sourcepub const fn sql_integrity_enabled(self) -> bool
pub const fn sql_integrity_enabled(self) -> bool
Return whether generated actor glue should export the integrity endpoint.
Sourcepub const fn sql_introspection_enabled(self) -> bool
pub const fn sql_introspection_enabled(self) -> bool
Return whether generated read-only SQL endpoints should admit introspection.
Sourcepub const fn sql_update_policy(self) -> Option<BuildSqlUpdatePolicy>
pub const fn sql_update_policy(self) -> Option<BuildSqlUpdatePolicy>
Return the generated SQL update endpoint policy, if explicitly enabled.
Sourcepub const fn sql_update_enabled(self) -> bool
pub const fn sql_update_enabled(self) -> bool
Return whether generated actor glue should export the SQL update endpoint.
Sourcepub const fn metrics_enabled(self) -> bool
pub const fn metrics_enabled(self) -> bool
Return whether generated actor glue should export metrics report endpoints.
Sourcepub const fn metrics_extended_enabled(self) -> bool
pub const fn metrics_extended_enabled(self) -> bool
Return whether generated actor glue should export extended metrics report endpoints.
Sourcepub const fn snapshot_enabled(self) -> bool
pub const fn snapshot_enabled(self) -> bool
Return whether generated actor glue should export storage snapshot endpoints.
Sourcepub const fn schema_enabled(self) -> bool
pub const fn schema_enabled(self) -> bool
Return whether generated actor glue should export schema report endpoints.
Sourcepub const fn sql_enabled(self) -> bool
pub const fn sql_enabled(self) -> bool
Return whether any generated SQL endpoint surface is enabled.
Trait Implementations§
Source§impl Clone for BuildOptions
impl Clone for BuildOptions
Source§fn clone(&self) -> BuildOptions
fn clone(&self) -> BuildOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BuildOptions
Source§impl Debug for BuildOptions
impl Debug for BuildOptions
Source§impl Default for BuildOptions
impl Default for BuildOptions
Source§fn default() -> BuildOptions
fn default() -> BuildOptions
impl Eq for BuildOptions
Source§impl PartialEq for BuildOptions
impl PartialEq for BuildOptions
impl StructuralPartialEq for BuildOptions
Auto Trait Implementations§
impl Freeze for BuildOptions
impl RefUnwindSafe for BuildOptions
impl Send for BuildOptions
impl Sync for BuildOptions
impl Unpin for BuildOptions
impl UnsafeUnpin for BuildOptions
impl UnwindSafe for BuildOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.