pub struct PythonFastApiGeneratorOption {
pub def_loc: Arc<DefLoc>,
pub file: Option<String>,
pub async_flag: Option<bool>,
pub get_ctx_from: Option<String>,
pub usecase_from: Option<String>,
pub extra_imports: Option<Vec<String>>,
pub extra_method_args: Option<Vec<String>>,
pub extra_request_fields: Option<Vec<String>>,
}Fields§
§def_loc: Arc<DefLoc>§file: Option<String>Output .py file
async_flag: Option<bool>§get_ctx_from: Option<String>§usecase_from: Option<String>where the python usecase types are defined (which module)
extra_imports: Option<Vec<String>>§extra_method_args: Option<Vec<String>>§extra_request_fields: Option<Vec<String>>Trait Implementations§
Source§impl Debug for PythonFastApiGeneratorOption
impl Debug for PythonFastApiGeneratorOption
Source§impl<'de> Deserialize<'de> for PythonFastApiGeneratorOption
impl<'de> Deserialize<'de> for PythonFastApiGeneratorOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PythonFastApiGeneratorOption
impl RefUnwindSafe for PythonFastApiGeneratorOption
impl Send for PythonFastApiGeneratorOption
impl Sync for PythonFastApiGeneratorOption
impl Unpin for PythonFastApiGeneratorOption
impl UnwindSafe for PythonFastApiGeneratorOption
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