pub struct GatewayConfig {
pub service_name: String,
pub display_name: String,
pub api_base_url: String,
pub auth_method: AuthMethod,
pub rate_limit: RateLimitConfig,
pub cache: CacheConfig,
pub server: ServerConfig,
pub entities: Vec<EntityConfig>,
pub endpoints: Vec<EndpointConfig>,
}Expand description
Gateway-specific configuration
Fields§
§service_name: StringService name (e.g., “kraken”, “binance”)
display_name: StringHuman-readable display name
api_base_url: StringBase URL for the external API
auth_method: AuthMethodAuthentication method
rate_limit: RateLimitConfigRate limiting configuration
cache: CacheConfigCache configuration
server: ServerConfigServer configuration
entities: Vec<EntityConfig>Entity definitions for the domain
endpoints: Vec<EndpointConfig>API endpoints to wrap
Trait Implementations§
Source§impl Clone for GatewayConfig
impl Clone for GatewayConfig
Source§fn clone(&self) -> GatewayConfig
fn clone(&self) -> GatewayConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GatewayConfig
impl Debug for GatewayConfig
Source§impl Default for GatewayConfig
impl Default for GatewayConfig
Source§impl<'de> Deserialize<'de> for GatewayConfig
impl<'de> Deserialize<'de> for GatewayConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GatewayConfig
impl RefUnwindSafe for GatewayConfig
impl Send for GatewayConfig
impl Sync for GatewayConfig
impl Unpin for GatewayConfig
impl UnwindSafe for GatewayConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)