pub struct TypeBridgeConfig { /* private fields */ }Expand description
An inert validated workspace policy produced only by its builder.
This trusted type intentionally implements no deserialization contract.
Implementations§
Source§impl TypeBridgeConfig
impl TypeBridgeConfig
Sourcepub fn builder(workspace_root: WorkspaceRoot) -> TypeBridgeConfigBuilder
pub fn builder(workspace_root: WorkspaceRoot) -> TypeBridgeConfigBuilder
Begin typed programmatic construction at one explicit workspace root.
Sourcepub const fn workspace_root(&self) -> &WorkspaceRoot
pub const fn workspace_root(&self) -> &WorkspaceRoot
Return the service-verified canonical workspace root.
Sourcepub const fn schema_set(&self) -> &SchemaSetPath
pub const fn schema_set(&self) -> &SchemaSetPath
Return the confined schema-set manifest path.
Sourcepub fn schema_set_absolute_path(&self) -> PathBuf
pub fn schema_set_absolute_path(&self) -> PathBuf
Return the schema-set manifest path resolved under the root.
Sourcepub const fn app_label(&self) -> &MigrationAppLabel
pub const fn app_label(&self) -> &MigrationAppLabel
Return the validated migration application label.
Sourcepub const fn managed_scope(&self) -> &ManagedScopeBinding
pub const fn managed_scope(&self) -> &ManagedScopeBinding
Return the durable scope bound to the frozen exclusive profile.
Sourcepub const fn semantic_profile(&self) -> &SemanticProfileId
pub const fn semantic_profile(&self) -> &SemanticProfileId
Return the exact server-semantic profile.
Sourcepub const fn migration_v2_directory(&self) -> &MigrationV2Directory
pub const fn migration_v2_directory(&self) -> &MigrationV2Directory
Return the confined canonical V2 migration directory.
Sourcepub const fn environments(&self) -> &BTreeMap<String, WorkspaceEnvironment>
pub const fn environments(&self) -> &BTreeMap<String, WorkspaceEnvironment>
Return every named deployment environment.
Sourcepub fn environment(&self, name: &str) -> Option<&WorkspaceEnvironment>
pub fn environment(&self, name: &str) -> Option<&WorkspaceEnvironment>
Return one named deployment environment.
Sourcepub const fn migration_policy(&self) -> &MigrationSafetyPolicy
pub const fn migration_policy(&self) -> &MigrationSafetyPolicy
Return the explicit apply-side migration safety policy.
The policy can tighten the verifier’s classification but never loosen
it: a standing allowance for destructive or opaque work is rejected by
construction, so no configuration spells a permanent force = true.
Sourcepub fn migration_v2_absolute_path(&self) -> PathBuf
pub fn migration_v2_absolute_path(&self) -> PathBuf
Return the V2 migration directory resolved under the root.
Sourcepub const fn required_capabilities(&self) -> &CapabilitySet
pub const fn required_capabilities(&self) -> &CapabilitySet
Return additive workspace capability requirements.
Sourcepub const fn outputs(&self) -> &BTreeMap<BindingTarget, OutputDirectory>
pub const fn outputs(&self) -> &BTreeMap<BindingTarget, OutputDirectory>
Return independently configured shipped output targets.
Sourcepub fn type_name_overrides(&self, target: BindingTarget) -> &[TypeNameOverride]
pub fn type_name_overrides(&self, target: BindingTarget) -> &[TypeNameOverride]
Return validated model-name overrides for one binding output.
Return the configured generated server-authority artifact path.
Sourcepub const fn secret_references(&self) -> &BTreeMap<SecretSlot, SecretReference>
pub const fn secret_references(&self) -> &BTreeMap<SecretSlot, SecretReference>
Return retained symbolic references without resolving secret values.
Sourcepub const fn extensions(&self) -> &BTreeSet<ExtensionRequirement>
pub const fn extensions(&self) -> &BTreeSet<ExtensionRequirement>
Return exact locally validated extension requirements.
Trait Implementations§
Source§impl Clone for TypeBridgeConfig
impl Clone for TypeBridgeConfig
Source§fn clone(&self) -> TypeBridgeConfig
fn clone(&self) -> TypeBridgeConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TypeBridgeConfig
impl Debug for TypeBridgeConfig
impl Eq for TypeBridgeConfig
Source§impl PartialEq for TypeBridgeConfig
impl PartialEq for TypeBridgeConfig
impl StructuralPartialEq for TypeBridgeConfig
Auto Trait Implementations§
impl Freeze for TypeBridgeConfig
impl RefUnwindSafe for TypeBridgeConfig
impl Send for TypeBridgeConfig
impl Sync for TypeBridgeConfig
impl Unpin for TypeBridgeConfig
impl UnsafeUnpin for TypeBridgeConfig
impl UnwindSafe for TypeBridgeConfig
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.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> ⓘ
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> ⓘ
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 more