pub struct AxonFlowConfig {
pub endpoint: String,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub license_key: Option<String>,
pub mode: Mode,
pub debug: bool,
pub timeout: Duration,
pub map_timeout: Duration,
pub retry: RetryConfig,
pub cache: CacheConfig,
pub insecure_skip_tls_verify: bool,
}Fields§
§endpoint: String§client_id: Option<String>§client_secret: Option<String>§license_key: Option<String>§mode: Mode§debug: bool§timeout: Duration§map_timeout: Duration§retry: RetryConfig§cache: CacheConfig§insecure_skip_tls_verify: boolImplementations§
Source§impl AxonFlowConfig
impl AxonFlowConfig
pub fn new(endpoint: impl Into<String>) -> Self
pub fn with_auth( self, client_id: impl Into<String>, client_secret: impl Into<String>, ) -> Self
pub fn with_license_key(self, license_key: impl Into<String>) -> Self
pub fn with_mode(self, mode: Mode) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_map_timeout(self, timeout: Duration) -> Self
pub fn with_retry(self, retry: RetryConfig) -> Self
pub fn with_cache(self, cache: CacheConfig) -> Self
Trait Implementations§
Source§impl Clone for AxonFlowConfig
impl Clone for AxonFlowConfig
Source§fn clone(&self) -> AxonFlowConfig
fn clone(&self) -> AxonFlowConfig
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 AxonFlowConfig
impl Debug for AxonFlowConfig
Auto Trait Implementations§
impl Freeze for AxonFlowConfig
impl RefUnwindSafe for AxonFlowConfig
impl Send for AxonFlowConfig
impl Sync for AxonFlowConfig
impl Unpin for AxonFlowConfig
impl UnsafeUnpin for AxonFlowConfig
impl UnwindSafe for AxonFlowConfig
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