pub struct SchemaGuard<'a>(/* private fields */);Expand description
A borrow of a NestedSchema’s target; dereferences to the schema.
Implementations§
Source§impl SchemaGuard<'_>
impl SchemaGuard<'_>
Sourcepub fn as_ptr(this: &Self) -> *const ResolvedSchema
pub fn as_ptr(this: &Self) -> *const ResolvedSchema
The address of the schema, comparable with Shared::as_ptr.
Trait Implementations§
Source§impl Debug for SchemaGuard<'_>
impl Debug for SchemaGuard<'_>
Source§impl Deref for SchemaGuard<'_>
impl Deref for SchemaGuard<'_>
Source§type Target = ResolvedSchema
type Target = ResolvedSchema
The resulting type after dereferencing.
Source§fn deref(&self) -> &ResolvedSchema
fn deref(&self) -> &ResolvedSchema
Dereferences the value.
Auto Trait Implementations§
impl<'a> Freeze for SchemaGuard<'a>
impl<'a> RefUnwindSafe for SchemaGuard<'a>
impl<'a> Send for SchemaGuard<'a>
impl<'a> Sync for SchemaGuard<'a>
impl<'a> Unpin for SchemaGuard<'a>
impl<'a> UnsafeUnpin for SchemaGuard<'a>
impl<'a> UnwindSafe for SchemaGuard<'a>
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