pub struct ServerConfig {Show 14 fields
pub access_rules_path: String,
pub auth_type: AuthTypeConfig,
pub simple_token_config: Option<SimpleTokenAuthConfig>,
pub jwt_config: Option<JWTAuthConfig>,
pub oidc_config: Option<OIDCAuthConfig>,
pub pep_crypto_server_config_path: String,
pub public_paas_config_path: String,
pub server_listen_address: String,
pub request_timeout: Duration,
pub redis_url: Option<String>,
pub redis_options: Option<RedisOptions>,
pub pep_session_lifetime: Duration,
pub pep_session_length: usize,
pub workers: Option<usize>,
}Fields§
§access_rules_path: String§auth_type: AuthTypeConfig§simple_token_config: Option<SimpleTokenAuthConfig>§jwt_config: Option<JWTAuthConfig>§oidc_config: Option<OIDCAuthConfig>§pep_crypto_server_config_path: String§public_paas_config_path: String§server_listen_address: String§request_timeout: Duration§redis_url: Option<String>§redis_options: Option<RedisOptions>§pep_session_lifetime: Duration§pep_session_length: usize§workers: Option<usize>Implementations§
Source§impl ServerConfig
impl ServerConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnsafeUnpin for ServerConfig
impl UnwindSafe for ServerConfig
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