Skip to main content

CliOverrides

Struct CliOverrides 

Source
pub struct CliOverrides {
Show 20 fields pub config: Option<PathBuf>, pub no_config: bool, pub dir: Option<PathBuf>, pub include: Vec<String>, pub exclude: Vec<String>, pub output: Option<PathBuf>, pub client_output: Option<PathBuf>, pub svelte_output: Option<PathBuf>, pub react_output: Option<PathBuf>, pub vue_output: Option<PathBuf>, pub solid_output: Option<PathBuf>, pub types_import: Option<String>, pub extension: Option<String>, pub preserve_docs: bool, pub branded_newtypes: Option<bool>, pub fields: Option<FieldNaming>, pub type_overrides: Vec<(String, String)>, pub bigint_types: Vec<String>, pub debounce_ms: Option<u64>, pub clear_screen: bool,
}
Expand description

CLI overrides that can be applied on top of a loaded config.

Fields§

§config: Option<PathBuf>§no_config: bool§dir: Option<PathBuf>§include: Vec<String>§exclude: Vec<String>§output: Option<PathBuf>§client_output: Option<PathBuf>§svelte_output: Option<PathBuf>§react_output: Option<PathBuf>§vue_output: Option<PathBuf>§solid_output: Option<PathBuf>§types_import: Option<String>§extension: Option<String>§preserve_docs: bool§branded_newtypes: Option<bool>§fields: Option<FieldNaming>§type_overrides: Vec<(String, String)>§bigint_types: Vec<String>§debounce_ms: Option<u64>§clear_screen: bool

Trait Implementations§

Source§

impl Default for CliOverrides

Source§

fn default() -> CliOverrides

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.