pub struct GeneratorIr {
pub name: String,
pub provider: String,
pub output: Option<String>,
pub interface: InterfaceKind,
pub recursive_type_depth: usize,
pub span: Span,
}Expand description
Validated generator configuration.
Fields§
§name: StringThe generator name (e.g., “client”).
provider: StringThe provider (e.g., “nautilus-client-rs”).
output: Option<String>The output path (if specified).
interface: InterfaceKindWhether to generate a sync or async client interface.
Defaults to InterfaceKind::Sync when the interface field is omitted.
recursive_type_depth: usizeDepth of recursive include TypedDicts generated for the Python client.
span: SpanSpan of the generator block.
Trait Implementations§
Source§impl Clone for GeneratorIr
impl Clone for GeneratorIr
Source§fn clone(&self) -> GeneratorIr
fn clone(&self) -> GeneratorIr
Returns a duplicate 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 GeneratorIr
impl Debug for GeneratorIr
Source§impl PartialEq for GeneratorIr
impl PartialEq for GeneratorIr
impl StructuralPartialEq for GeneratorIr
Auto Trait Implementations§
impl Freeze for GeneratorIr
impl RefUnwindSafe for GeneratorIr
impl Send for GeneratorIr
impl Sync for GeneratorIr
impl Unpin for GeneratorIr
impl UnsafeUnpin for GeneratorIr
impl UnwindSafe for GeneratorIr
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