pub struct PythonOptions {
pub python_version: PythonVersion,
pub just_types: bool,
pub nice_property_names: bool,
}
Fields§
§python_version: PythonVersion
Python Version
just_types: bool
Classes only
nice_property_names: bool
Transform property names to be Pythonic
Trait Implementations§
Source§impl Clone for PythonOptions
impl Clone for PythonOptions
Source§fn clone(&self) -> PythonOptions
fn clone(&self) -> PythonOptions
Returns a copy 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 PythonOptions
impl Debug for PythonOptions
Source§impl Default for PythonOptions
impl Default for PythonOptions
Source§fn default() -> PythonOptions
fn default() -> PythonOptions
Returns the “default value” for a type. Read more
Source§impl Hash for PythonOptions
impl Hash for PythonOptions
Source§impl PartialEq for PythonOptions
impl PartialEq for PythonOptions
impl Eq for PythonOptions
impl StructuralPartialEq for PythonOptions
Auto Trait Implementations§
impl Freeze for PythonOptions
impl RefUnwindSafe for PythonOptions
impl Send for PythonOptions
impl Sync for PythonOptions
impl Unpin for PythonOptions
impl UnwindSafe for PythonOptions
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