pub struct TypeSpec {
pub type_def: TypeDef,
pub targets: Vec<Language>,
pub source_path: PathBuf,
pub zod_schema: Option<bool>,
}Expand description
Parsed TypeWriter definition discovered in a Rust source file.
Fields§
§type_def: TypeDef§targets: Vec<Language>§source_path: PathBuf§zod_schema: Option<bool>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeSpec
impl RefUnwindSafe for TypeSpec
impl Send for TypeSpec
impl Sync for TypeSpec
impl Unpin for TypeSpec
impl UnsafeUnpin for TypeSpec
impl UnwindSafe for TypeSpec
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