pub struct SchemaLoweringProfileBinding { /* private fields */ }Expand description
A registry-resolved schema-lowering profile and exact content fingerprint.
Implementations§
Source§impl SchemaLoweringProfileBinding
impl SchemaLoweringProfileBinding
Sourcepub fn from_canonical_profile_bytes(
canonical_profile_bytes: &[u8],
) -> Result<Self, Diagnostic>
pub fn from_canonical_profile_bytes( canonical_profile_bytes: &[u8], ) -> Result<Self, Diagnostic>
Bind the fixed profile identity to a complete canonical registry document.
This validates canonical JSON and requires the document’s top-level id
to equal the frozen profile identity before computing its content fingerprint.
Sourcepub const fn id(&self) -> &SchemaLoweringProfileId
pub const fn id(&self) -> &SchemaLoweringProfileId
Return the exact lowering-profile identity.
Sourcepub const fn fingerprint(&self) -> &SchemaLoweringProfileFingerprint
pub const fn fingerprint(&self) -> &SchemaLoweringProfileFingerprint
Return the registry-owned lowering-profile content fingerprint.
Trait Implementations§
Source§impl Clone for SchemaLoweringProfileBinding
impl Clone for SchemaLoweringProfileBinding
Source§fn clone(&self) -> SchemaLoweringProfileBinding
fn clone(&self) -> SchemaLoweringProfileBinding
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 SchemaLoweringProfileBinding
impl Debug for SchemaLoweringProfileBinding
impl Eq for SchemaLoweringProfileBinding
impl StructuralPartialEq for SchemaLoweringProfileBinding
Auto Trait Implementations§
impl Freeze for SchemaLoweringProfileBinding
impl RefUnwindSafe for SchemaLoweringProfileBinding
impl Send for SchemaLoweringProfileBinding
impl Sync for SchemaLoweringProfileBinding
impl Unpin for SchemaLoweringProfileBinding
impl UnsafeUnpin for SchemaLoweringProfileBinding
impl UnwindSafe for SchemaLoweringProfileBinding
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