pub struct SemanticProfileBinding { /* private fields */ }Expand description
A registry-resolved semantic-profile identity and exact content fingerprint.
Implementations§
Source§impl SemanticProfileBinding
impl SemanticProfileBinding
Sourcepub fn resolve(id: SemanticProfileId) -> Result<Self, Diagnostic>
pub fn resolve(id: SemanticProfileId) -> Result<Self, Diagnostic>
Resolve one supported semantic profile and bind its frozen content.
Sourcepub fn typedb_3_12_1() -> Result<Self, Diagnostic>
pub fn typedb_3_12_1() -> Result<Self, Diagnostic>
Resolve the frozen TypeDB 3.12.1 semantic profile.
Sourcepub const fn id(&self) -> &SemanticProfileId
pub const fn id(&self) -> &SemanticProfileId
Return the exact semantic-profile identity.
Sourcepub const fn fingerprint(&self) -> &SemanticProfileFingerprint
pub const fn fingerprint(&self) -> &SemanticProfileFingerprint
Return the registry-owned semantic-profile content fingerprint.
Trait Implementations§
Source§impl Clone for SemanticProfileBinding
impl Clone for SemanticProfileBinding
Source§fn clone(&self) -> SemanticProfileBinding
fn clone(&self) -> SemanticProfileBinding
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 SemanticProfileBinding
impl Debug for SemanticProfileBinding
impl Eq for SemanticProfileBinding
Source§impl PartialEq for SemanticProfileBinding
impl PartialEq for SemanticProfileBinding
Source§impl Serialize for SemanticProfileBinding
impl Serialize for SemanticProfileBinding
impl StructuralPartialEq for SemanticProfileBinding
Auto Trait Implementations§
impl Freeze for SemanticProfileBinding
impl RefUnwindSafe for SemanticProfileBinding
impl Send for SemanticProfileBinding
impl Sync for SemanticProfileBinding
impl Unpin for SemanticProfileBinding
impl UnsafeUnpin for SemanticProfileBinding
impl UnwindSafe for SemanticProfileBinding
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