Struct hydrate_data::SchemaSet
source · pub struct SchemaSet { /* private fields */ }Implementations§
source§impl SchemaSet
impl SchemaSet
pub fn schemas(&self) -> &HashMap<SchemaFingerprint, SchemaNamedType>
pub fn schemas_by_type_uuid(&self) -> &HashMap<Uuid, SchemaFingerprint>
pub fn default_value_for_enum( &self, fingerprint: SchemaFingerprint ) -> Option<&Value>
pub fn find_named_type_by_type_uuid( &self, type_uuid: Uuid ) -> DataSetResult<&SchemaNamedType>
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> ) -> DataSetResult<&SchemaNamedType>
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 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