pub enum Validator {
Valibot,
Zod,
None,
}Expand description
Validator runtime to target in the generated client.
Mirrors the CLI flag of the same name (see commands/gen.rs). Phase 4 wires
Valibot and Zod through to real schema emission; None skips schema
emission entirely (no <Name>Schema consts, no procedureSchemas map, no
runtime import added).
Variants§
Trait Implementations§
impl Copy for Validator
impl Eq for Validator
impl StructuralPartialEq for Validator
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnsafeUnpin for Validator
impl UnwindSafe for Validator
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