pub struct TypeScriptConfig {
pub package_name: String,
pub generate_helpers: bool,
pub interface_prefix: String,
pub export_const_name: String,
}Expand description
Configuration for TypeScript generation
Fields§
§package_name: String§generate_helpers: bool§interface_prefix: String§export_const_name: StringTrait 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
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