pub struct PythonStackConfig {
pub package_name: String,
pub sdk_version: String,
pub module_mode: bool,
pub url: Option<String>,
pub http_url: Option<String>,
pub extension_modules: Vec<String>,
pub extension_entry: Option<String>,
}Fields§
§package_name: StringDistribution name used in the generated pyproject.toml; the import
package name is derived via python_module_name.
sdk_version: String§module_mode: boolKept for CLI shape parity with RustStackConfig. Python relative
imports are identical in module and package layouts, so this does not
change the generated sources — only which writer the CLI picks.
url: Option<String>WebSocket URL for the stack. If None, generates a placeholder comment.
http_url: Option<String>HTTP base URL for the stack (account reads / queries / chain reads).
extension_modules: Vec<String>Module stems of hand-authored devex extension files staged next to the
generated output (one from . import <stem> each, in order, entry
last). Stems are derived from staged file names via
python_module_name.
extension_entry: Option<String>Module stem of the extension entry file. When set, the generated
__init__.py star-imports the entry (from .<entry> import *) so
extension helpers come into scope with the stack’s own import.
Trait Implementations§
Source§impl Clone for PythonStackConfig
impl Clone for PythonStackConfig
Source§fn clone(&self) -> PythonStackConfig
fn clone(&self) -> PythonStackConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more