func (c *RetryConfig) Copy() *RetryConfig {
	if c == nil {
		return nil
	}

	var o RetryConfig

	o.Attempts = c.Attempts

	o.Backoff = c.Backoff

	o.MaxBackoff = c.MaxBackoff

	o.Enabled = c.Enabled

	return &o
}
func (c *RetryConfig) Copy() *RetryConfig {
	if c == nil {
		return nil
	}

	var o RetryConfig

	o.Attempts = c.Attempts

	o.Backoff = c.Backoff

	o.MaxBackoff = c.MaxBackoff

	o.Enabled = c.Enabled

	return &o
}
func ( c * RetryConfig ) Copy ( ) * RetryConfig { if c == nil { return nil } var o RetryConfig o . Attempts = c . Attempts o . Backoff = c . Backoff o . MaxBackoff = c . MaxBackoff o . Enabled = c . Enabled return & o }
// Copy returns a deep copy of this configuration.
Copy returns a deep copy of this configuration .