pub enum SecurityProfile {
Development,
Staging,
Production,
Custom,
}Expand description
Security profile defining the security level and features
Variants§
Development
Development profile - permissive settings for local development
Staging
Staging profile - balanced security for testing environments
Production
Production profile - strict security for production deployments
Custom
Custom profile - user-defined security settings
Implementations§
Trait Implementations§
Source§impl Clone for SecurityProfile
impl Clone for SecurityProfile
Source§fn clone(&self) -> SecurityProfile
fn clone(&self) -> SecurityProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecurityProfile
impl Debug for SecurityProfile
Source§impl<'de> Deserialize<'de> for SecurityProfile
impl<'de> Deserialize<'de> for SecurityProfile
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
Source§impl Display for SecurityProfile
impl Display for SecurityProfile
Source§impl FromStr for SecurityProfile
impl FromStr for SecurityProfile
Source§impl PartialEq for SecurityProfile
impl PartialEq for SecurityProfile
Source§impl Serialize for SecurityProfile
impl Serialize for SecurityProfile
impl Eq for SecurityProfile
impl StructuralPartialEq for SecurityProfile
Auto Trait Implementations§
impl Freeze for SecurityProfile
impl RefUnwindSafe for SecurityProfile
impl Send for SecurityProfile
impl Sync for SecurityProfile
impl Unpin for SecurityProfile
impl UnwindSafe for SecurityProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.