pub enum SchemaRef {
Direct(Schema),
Indirect(SchemaId),
}Variants§
Implementations§
Source§impl SchemaRef
impl SchemaRef
pub fn resolve<'a>(&'a self, registry: &'a SchemaRegistry) -> &'a Schema
pub fn into_resolved(self, registry: &SchemaRegistry) -> Schema
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaRef
impl RefUnwindSafe for SchemaRef
impl Send for SchemaRef
impl Sync for SchemaRef
impl Unpin for SchemaRef
impl UnwindSafe for SchemaRef
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