pub enum TsRowType {
Interface,
Zod,
}Expand description
Supported TypeScript row type styles for generated code.
Variants§
Implementations§
Source§impl TsRowType
impl TsRowType
Sourcepub fn from_option(value: &str) -> Result<Self, ScytheError>
pub fn from_option(value: &str) -> Result<Self, ScytheError>
Parse a row_type option string into a TsRowType.
Trait Implementations§
impl Copy for TsRowType
impl Eq for TsRowType
impl StructuralPartialEq for TsRowType
Auto Trait Implementations§
impl Freeze for TsRowType
impl RefUnwindSafe for TsRowType
impl Send for TsRowType
impl Sync for TsRowType
impl Unpin for TsRowType
impl UnsafeUnpin for TsRowType
impl UnwindSafe for TsRowType
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