pub struct CodeGeneratorConfig {
pub max_retries: usize,
pub initial_backoff: Duration,
pub max_backoff: Duration,
pub backoff_multiplier: f64,
}Expand description
Configuration for code generation
Fields§
§max_retries: usizeMaximum number of retries on transient failures
initial_backoff: DurationInitial backoff duration for retries
max_backoff: DurationMaximum backoff duration for retries
backoff_multiplier: f64Backoff multiplier for exponential backoff
Trait Implementations§
Source§impl Clone for CodeGeneratorConfig
impl Clone for CodeGeneratorConfig
Source§fn clone(&self) -> CodeGeneratorConfig
fn clone(&self) -> CodeGeneratorConfig
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 CodeGeneratorConfig
impl Debug for CodeGeneratorConfig
Auto Trait Implementations§
impl Freeze for CodeGeneratorConfig
impl RefUnwindSafe for CodeGeneratorConfig
impl Send for CodeGeneratorConfig
impl Sync for CodeGeneratorConfig
impl Unpin for CodeGeneratorConfig
impl UnwindSafe for CodeGeneratorConfig
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