pub struct SchemaLoweringBinding { /* private fields */ }Expand description
Fixed lowering-profile identity plus provider capabilities available to the caller.
Implementations§
Source§impl SchemaLoweringBinding
impl SchemaLoweringBinding
Sourcepub fn new(
profile_id: SchemaLoweringProfileId,
profile_fingerprint: SchemaLoweringProfileFingerprint,
available_capabilities: CapabilitySet,
) -> Result<Self, SchemaLoweringDiagnostic>
pub fn new( profile_id: SchemaLoweringProfileId, profile_fingerprint: SchemaLoweringProfileFingerprint, available_capabilities: CapabilitySet, ) -> Result<Self, SchemaLoweringDiagnostic>
Bind caller capabilities to the exact compiled lowering profile.
Sourcepub fn current(
available_capabilities: CapabilitySet,
) -> Result<Self, SchemaLoweringDiagnostic>
pub fn current( available_capabilities: CapabilitySet, ) -> Result<Self, SchemaLoweringDiagnostic>
Bind capabilities to the current compiled profile.
Sourcepub const fn available_capabilities(&self) -> &CapabilitySet
pub const fn available_capabilities(&self) -> &CapabilitySet
Return available provider capabilities.
Sourcepub const fn profile_id(&self) -> &SchemaLoweringProfileId
pub const fn profile_id(&self) -> &SchemaLoweringProfileId
Return the exact compiled lowering-profile identity.
Sourcepub const fn profile_fingerprint(&self) -> &SchemaLoweringProfileFingerprint
pub const fn profile_fingerprint(&self) -> &SchemaLoweringProfileFingerprint
Return the exact compiled lowering-profile content fingerprint.
Trait Implementations§
Source§impl Clone for SchemaLoweringBinding
impl Clone for SchemaLoweringBinding
Source§fn clone(&self) -> SchemaLoweringBinding
fn clone(&self) -> SchemaLoweringBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaLoweringBinding
impl Debug for SchemaLoweringBinding
impl Eq for SchemaLoweringBinding
Source§impl PartialEq for SchemaLoweringBinding
impl PartialEq for SchemaLoweringBinding
impl StructuralPartialEq for SchemaLoweringBinding
Auto Trait Implementations§
impl Freeze for SchemaLoweringBinding
impl RefUnwindSafe for SchemaLoweringBinding
impl Send for SchemaLoweringBinding
impl Sync for SchemaLoweringBinding
impl Unpin for SchemaLoweringBinding
impl UnsafeUnpin for SchemaLoweringBinding
impl UnwindSafe for SchemaLoweringBinding
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