pub struct Config {Show 17 fields
pub in_file: PathBuf,
pub out_file: PathBuf,
pub single_module: bool,
pub import_search_path: Vec<PathBuf>,
pub no_output: bool,
pub error_cycle: bool,
pub headers: bool,
pub dont_use_cow: bool,
pub custom_struct_derive: Vec<String>,
pub custom_repr: Option<String>,
pub custom_rpc_generator: RpcGeneratorFunction,
pub custom_includes: Vec<String>,
pub owned: bool,
pub nostd: bool,
pub hashbrown: bool,
pub gen_info: bool,
pub add_deprecated_fields: bool,
}
Fields§
§in_file: PathBuf
§out_file: PathBuf
§single_module: bool
§import_search_path: Vec<PathBuf>
§no_output: bool
§error_cycle: bool
§headers: bool
§dont_use_cow: bool
§custom_struct_derive: Vec<String>
§custom_repr: Option<String>
§custom_rpc_generator: RpcGeneratorFunction
§custom_includes: Vec<String>
§owned: bool
§nostd: bool
§hashbrown: bool
§gen_info: bool
§add_deprecated_fields: bool
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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