pub struct ProfileConfig {Show 24 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 mockai: Option<MockAIConfig>,
pub observability: Option<ObservabilityConfig>,
pub multi_tenant: Option<MultiTenantConfig>,
pub routes: Option<Vec<RouteConfig>>,
pub protocols: Option<ProtocolsConfig>,
pub deceptive_deploy: Option<DeceptiveDeployConfig>,
pub reality: Option<RealitySliderConfig>,
pub reality_continuum: Option<ContinuumConfig>,
pub security: Option<SecurityConfig>,
}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
mockai: Option<MockAIConfig>MockAI 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
deceptive_deploy: Option<DeceptiveDeployConfig>Deceptive deploy configuration overrides
reality: Option<RealitySliderConfig>Reality slider configuration overrides
reality_continuum: Option<ContinuumConfig>Reality Continuum configuration overrides
security: Option<SecurityConfig>Security 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>,
Source§impl JsonSchema for ProfileConfig
impl JsonSchema for ProfileConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto 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