pub struct VerifiedSchemaBundle { /* private fields */ }Expand description
Opaque constructor-verified compiled schema bundle.
Implementations§
Source§impl VerifiedSchemaBundle
impl VerifiedSchemaBundle
Sourcepub const fn bundle_fingerprint(&self) -> &Fingerprint
pub const fn bundle_fingerprint(&self) -> &Fingerprint
Return the exact bundle-content fingerprint.
Sourcepub const fn declared_schema(&self) -> &DeclaredSchema
pub const fn declared_schema(&self) -> &DeclaredSchema
Return constructor-validated direct schema facts with compiled provenance.
Sourcepub const fn resolved_schema(&self) -> &ResolvedSchema
pub const fn resolved_schema(&self) -> &ResolvedSchema
Return independently resolved effective schema semantics.
Sourcepub const fn semantic_profile(&self) -> &SemanticProfileBinding
pub const fn semantic_profile(&self) -> &SemanticProfileBinding
Return the frozen semantic-profile identity and content fingerprint.
Sourcepub const fn managed_scope(&self) -> &ManagedScopeBinding
pub const fn managed_scope(&self) -> &ManagedScopeBinding
Return the durable managed scope and frozen scope-profile binding.
Sourcepub const fn managed_state(&self) -> &ManagedSchemaState
pub const fn managed_state(&self) -> &ManagedSchemaState
Return the independently recomputed managed schema state.
Sourcepub const fn required_capabilities(&self) -> &CapabilitySet
pub const fn required_capabilities(&self) -> &CapabilitySet
Return exact compiled capability requirements.
Sourcepub const fn required_extensions(&self) -> &BTreeSet<ExtensionRequirement>
pub const fn required_extensions(&self) -> &BTreeSet<ExtensionRequirement>
Return exact compiled extension requirements.
Sourcepub fn projection(&self, target: BindingTarget) -> Option<&RuntimeProjection>
pub fn projection(&self, target: BindingTarget) -> Option<&RuntimeProjection>
Look up one independently verified runtime projection.
Sourcepub fn projections(
&self,
) -> impl ExactSizeIterator<Item = (BindingTarget, &RuntimeProjection)>
pub fn projections( &self, ) -> impl ExactSizeIterator<Item = (BindingTarget, &RuntimeProjection)>
Iterate verified projections in stable target order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerifiedSchemaBundle
impl RefUnwindSafe for VerifiedSchemaBundle
impl Send for VerifiedSchemaBundle
impl Sync for VerifiedSchemaBundle
impl Unpin for VerifiedSchemaBundle
impl UnsafeUnpin for VerifiedSchemaBundle
impl UnwindSafe for VerifiedSchemaBundle
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> 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 more