pub struct TypeSchema {
pub name: &'static str,
pub body: TypeBody,
}Expand description
Named schema; its links are shallow so recursive graphs never expand on comparison.
Fields§
§name: &'static strLogical type identity.
body: TypeBodyThe complete named value shape, including any wrapped type and its bounds.
Trait Implementations§
Source§impl Debug for TypeSchema
impl Debug for TypeSchema
impl Eq for TypeSchema
Source§impl PartialEq for TypeSchema
impl PartialEq for TypeSchema
impl StructuralPartialEq for TypeSchema
Auto Trait Implementations§
impl Forget for TypeSchema
impl Freeze for TypeSchema
impl Move for TypeSchema
impl RefUnwindSafe for TypeSchema
impl Send for TypeSchema
impl Sync for TypeSchema
impl Unpin for TypeSchema
impl UnsafeUnpin for TypeSchema
impl UnwindSafe for TypeSchema
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