pub struct SEnvOptions {
pub default_behavior: EnvBehavior,
pub set: HashMap<String, String>,
pub keep: LinkedHashSet<EnvKey>,
pub check: LinkedHashSet<EnvKey>,
pub delete: LinkedHashSet<EnvKey>,
pub _extra_fields: Map<String, Value>,
}Fields§
§default_behavior: EnvBehavior§set: HashMap<String, String>§keep: LinkedHashSet<EnvKey>§check: LinkedHashSet<EnvKey>§delete: LinkedHashSet<EnvKey>§_extra_fields: Map<String, Value>Implementations§
source§impl SEnvOptions
impl SEnvOptions
pub fn new(behavior: EnvBehavior) -> Self
Trait Implementations§
source§impl Clone for SEnvOptions
impl Clone for SEnvOptions
source§fn clone(&self) -> SEnvOptions
fn clone(&self) -> SEnvOptions
Returns a copy 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 SEnvOptions
impl Debug for SEnvOptions
source§impl Default for SEnvOptions
impl Default for SEnvOptions
source§impl<'de> Deserialize<'de> for SEnvOptions
impl<'de> Deserialize<'de> for SEnvOptions
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 PartialEq for SEnvOptions
impl PartialEq for SEnvOptions
source§impl Serialize for SEnvOptions
impl Serialize for SEnvOptions
impl Eq for SEnvOptions
impl StructuralPartialEq for SEnvOptions
Auto Trait Implementations§
impl Freeze for SEnvOptions
impl RefUnwindSafe for SEnvOptions
impl Send for SEnvOptions
impl Sync for SEnvOptions
impl Unpin for SEnvOptions
impl UnwindSafe for SEnvOptions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)