pub struct ProfileConfig {Show 19 fields
pub http: Option<HttpConfig>,
pub websocket: Option<WebSocketConfig>,
pub graphql: Option<GraphQLConfig>,
pub grpc: Option<GrpcConfig>,
pub mqtt: Option<MqttConfig>,
pub smtp: Option<SmtpConfig>,
pub ftp: Option<FtpConfig>,
pub kafka: Option<KafkaConfig>,
pub amqp: Option<AmqpConfig>,
pub tcp: Option<TcpConfig>,
pub admin: Option<AdminConfig>,
pub chaining: Option<ChainingConfig>,
pub core: Option<Config>,
pub logging: Option<LoggingConfig>,
pub data: Option<DataConfig>,
pub observability: Option<ObservabilityConfig>,
pub multi_tenant: Option<MultiTenantConfig>,
pub routes: Option<Vec<RouteConfig>>,
pub protocols: Option<ProtocolsConfig>,
}Expand description
Profile configuration - a partial ServerConfig that overrides base settings
Fields§
§http: Option<HttpConfig>HTTP server configuration overrides
websocket: Option<WebSocketConfig>WebSocket server configuration overrides
graphql: Option<GraphQLConfig>GraphQL server configuration overrides
grpc: Option<GrpcConfig>gRPC server configuration overrides
mqtt: Option<MqttConfig>MQTT server configuration overrides
smtp: Option<SmtpConfig>SMTP server configuration overrides
ftp: Option<FtpConfig>FTP server configuration overrides
kafka: Option<KafkaConfig>Kafka server configuration overrides
amqp: Option<AmqpConfig>AMQP server configuration overrides
tcp: Option<TcpConfig>TCP server configuration overrides
admin: Option<AdminConfig>Admin UI configuration overrides
chaining: Option<ChainingConfig>Request chaining configuration overrides
core: Option<Config>Core MockForge configuration overrides
logging: Option<LoggingConfig>Logging configuration overrides
data: Option<DataConfig>Data generation configuration overrides
observability: Option<ObservabilityConfig>Observability configuration overrides
multi_tenant: Option<MultiTenantConfig>Multi-tenant workspace configuration overrides
routes: Option<Vec<RouteConfig>>Custom routes configuration overrides
protocols: Option<ProtocolsConfig>Protocol enable/disable configuration overrides
Trait Implementations§
Source§impl Clone for ProfileConfig
impl Clone for ProfileConfig
Source§fn clone(&self) -> ProfileConfig
fn clone(&self) -> ProfileConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProfileConfig
impl Debug for ProfileConfig
Source§impl Default for ProfileConfig
impl Default for ProfileConfig
Source§fn default() -> ProfileConfig
fn default() -> ProfileConfig
Source§impl<'de> Deserialize<'de> for ProfileConfigwhere
ProfileConfig: Default,
impl<'de> Deserialize<'de> for ProfileConfigwhere
ProfileConfig: Default,
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>,
Auto Trait Implementations§
impl Freeze for ProfileConfig
impl RefUnwindSafe for ProfileConfig
impl Send for ProfileConfig
impl Sync for ProfileConfig
impl Unpin for ProfileConfig
impl UnwindSafe for ProfileConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more