pub struct ProductionProfile;Expand description
Production security profile implementation
Implementations§
Source§impl ProductionProfile
impl ProductionProfile
Sourcepub fn security_settings() -> SecuritySettings
pub fn security_settings() -> SecuritySettings
Create production security settings
Sourcepub fn required_env_vars() -> Vec<&'static str>
pub fn required_env_vars() -> Vec<&'static str>
Get required environment variables for production
Sourcepub fn recommended_env_vars() -> Vec<(&'static str, &'static str)>
pub fn recommended_env_vars() -> Vec<(&'static str, &'static str)>
Get recommended environment variables for production
Auto Trait Implementations§
impl Freeze for ProductionProfile
impl RefUnwindSafe for ProductionProfile
impl Send for ProductionProfile
impl Sync for ProductionProfile
impl Unpin for ProductionProfile
impl UnwindSafe for ProductionProfile
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