pub struct VocabularySet { /* private fields */ }Expand description
A set of enabled JSON Schema vocabularies.
Implementations§
Source§impl VocabularySet
impl VocabularySet
pub fn contains(&self, vocabulary: &Vocabulary) -> bool
Trait Implementations§
Source§impl Clone for VocabularySet
impl Clone for VocabularySet
Source§fn clone(&self) -> VocabularySet
fn clone(&self) -> VocabularySet
Returns a duplicate of the value. Read more
1.0.0 · 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 VocabularySet
impl Debug for VocabularySet
Source§impl Default for VocabularySet
impl Default for VocabularySet
Source§fn default() -> VocabularySet
fn default() -> VocabularySet
Returns the “default value” for a type. Read more
Source§impl PartialEq for VocabularySet
impl PartialEq for VocabularySet
impl Eq for VocabularySet
impl StructuralPartialEq for VocabularySet
Auto Trait Implementations§
impl Freeze for VocabularySet
impl RefUnwindSafe for VocabularySet
impl Send for VocabularySet
impl Sync for VocabularySet
impl Unpin for VocabularySet
impl UnwindSafe for VocabularySet
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.