pub struct MetadataVocabularyDefinition { /* private fields */ }Expand description
Documentation and property hints for one metadata vocabulary.
Implementations§
Source§impl MetadataVocabularyDefinition
impl MetadataVocabularyDefinition
Sourcepub const fn vocabulary(self) -> &'static str
pub const fn vocabulary(self) -> &'static str
Returns the exact persisted vocabulary identifier.
Sourcepub const fn reference(self) -> &'static str
pub const fn reference(self) -> &'static str
Returns the authoritative vocabulary or schema reference.
Sourcepub const fn properties(self) -> &'static [MetadataPropertyDefinition]
pub const fn properties(self) -> &'static [MetadataPropertyDefinition]
Returns the deliberately small set of built-in property hints.
Trait Implementations§
Source§impl Clone for MetadataVocabularyDefinition
impl Clone for MetadataVocabularyDefinition
Source§fn clone(&self) -> MetadataVocabularyDefinition
fn clone(&self) -> MetadataVocabularyDefinition
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 moreimpl Copy for MetadataVocabularyDefinition
Auto Trait Implementations§
impl Freeze for MetadataVocabularyDefinition
impl RefUnwindSafe for MetadataVocabularyDefinition
impl Send for MetadataVocabularyDefinition
impl Sync for MetadataVocabularyDefinition
impl Unpin for MetadataVocabularyDefinition
impl UnsafeUnpin for MetadataVocabularyDefinition
impl UnwindSafe for MetadataVocabularyDefinition
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