pub struct RustStackConfig {
pub crate_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>,
pub program_reads: Vec<RustProgramReadConfig>,
}Fields§
§crate_name: String§sdk_version: String§module_mode: bool§url: Option<String>§http_url: Option<String>HTTP base URL for the stack (account reads / queries / chain reads).
When set and non-empty, the generated Stack impl overrides
Stack::http_url; otherwise the runtime derives the HTTP endpoint
from the WebSocket URL.
extension_modules: Vec<String>Module stems of hand-authored devex extension files staged next to the
generated output (one pub mod <stem>; each, in order, entry last).
Stems are derived from the staged file names via rust_module_name.
extension_entry: Option<String>Module stem of the extension entry file. When set, the generated
mod.rs/lib.rs re-exports the entry at the stack module root
(pub use <entry>::*;) so extension traits come into scope with the
stack’s own glob import.
program_reads: Vec<RustProgramReadConfig>Published-platform program read overrides keyed by program ID. When an
entry matches a program, its exact program_spec_hash /
program_release_hash (from a hosted platform release) are used for
the program read layer instead of the OSS-derived release identity.
Absent programs keep the default OSS/local-HTTP read layer. Published
standalone programs may additionally carry their exact hosted-binding
descriptor so they do not inherit a stack HTTP endpoint.
Trait Implementations§
Source§impl Clone for RustStackConfig
impl Clone for RustStackConfig
Source§fn clone(&self) -> RustStackConfig
fn clone(&self) -> RustStackConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more