pub struct Root {
pub name: String,
pub id: SchemaId,
}Expand description
A root entry type the caller asked to generate.
Fields§
§name: StringThe Rust type identifier (used as the generated type name).
id: SchemaIdThe root type’s content-derived schema id.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Root
impl RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnsafeUnpin for Root
impl UnwindSafe for Root
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