pub struct SchemaSet { /* private fields */ }
Implementations§
Source§impl SchemaSet
impl SchemaSet
pub fn schemas( &self, ) -> &HashMap<SchemaFingerprint, SchemaNamedType, RandomState>
pub fn schemas_by_type_uuid( &self, ) -> &HashMap<Uuid, SchemaFingerprint, RandomState>
pub fn default_value_for_enum( &self, fingerprint: SchemaFingerprint, ) -> Option<&Value>
pub fn find_named_type_by_type_uuid( &self, type_uuid: Uuid, ) -> Result<&SchemaNamedType, DataSetErrorWithBacktrace>
pub fn try_find_named_type_by_type_uuid( &self, type_uuid: Uuid, ) -> Option<&SchemaNamedType>
pub fn find_named_type( &self, name: impl AsRef<str>, ) -> Result<&SchemaNamedType, DataSetErrorWithBacktrace>
pub fn try_find_named_type( &self, name: impl AsRef<str>, ) -> Option<&SchemaNamedType>
pub fn find_named_type_by_fingerprint( &self, fingerprint: SchemaFingerprint, ) -> Option<&SchemaNamedType>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaSet
impl RefUnwindSafe for SchemaSet
impl Send for SchemaSet
impl Sync for SchemaSet
impl Unpin for SchemaSet
impl UnwindSafe for SchemaSet
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