pub struct TypeScriptConfig {
pub base_url: Option<String>,
pub no_jsdoc: bool,
pub scaffold: Option<ScaffoldOptions>,
}Expand description
Configuration for the TypeScript generator.
Fields§
§base_url: Option<String>§no_jsdoc: bool§scaffold: Option<ScaffoldOptions>Generate scaffold files (package.json, tsconfig.json, etc).
Trait Implementations§
Source§impl Clone for TypeScriptConfig
impl Clone for TypeScriptConfig
Source§fn clone(&self) -> TypeScriptConfig
fn clone(&self) -> TypeScriptConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeScriptConfig
impl Debug for TypeScriptConfig
Source§impl Default for TypeScriptConfig
impl Default for TypeScriptConfig
Source§fn default() -> TypeScriptConfig
fn default() -> TypeScriptConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TypeScriptConfig
impl RefUnwindSafe for TypeScriptConfig
impl Send for TypeScriptConfig
impl Sync for TypeScriptConfig
impl Unpin for TypeScriptConfig
impl UnwindSafe for TypeScriptConfig
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