pub enum ZodExpression {
Object(Box<Vec<(String, ZodExpression)>>),
Array(Box<ZodExpression>),
Literal(String),
Number,
UUID,
String,
Boolean,
Email,
Any,
Enum(Vec<String>),
Union(Vec<ZodExpression>),
}
Variants§
Object(Box<Vec<(String, ZodExpression)>>)
Array(Box<ZodExpression>)
Literal(String)
Number
UUID
String
Boolean
Any
Enum(Vec<String>)
Union(Vec<ZodExpression>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZodExpression
impl RefUnwindSafe for ZodExpression
impl Send for ZodExpression
impl Sync for ZodExpression
impl Unpin for ZodExpression
impl UnwindSafe for ZodExpression
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