pub struct TypeRegistration {
pub type_id: GtsTypeId,
pub schema: Value,
}Expand description
One type submitted for registration.
Fields§
§type_id: GtsTypeIdCanonical GTS identifier; must derive from one of the gear’s family types (base -> family -> producer type, two derivations max).
schema: ValueThe type’s draft-07 JSON Schema.
Trait Implementations§
Source§impl Clone for TypeRegistration
impl Clone for TypeRegistration
Source§impl Debug for TypeRegistration
impl Debug for TypeRegistration
Source§impl PartialEq for TypeRegistration
impl PartialEq for TypeRegistration
impl StructuralPartialEq for TypeRegistration
Auto Trait Implementations§
impl Freeze for TypeRegistration
impl RefUnwindSafe for TypeRegistration
impl Send for TypeRegistration
impl Sync for TypeRegistration
impl Unpin for TypeRegistration
impl UnsafeUnpin for TypeRegistration
impl UnwindSafe for TypeRegistration
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