pub enum EnvBehavior {
Delete,
Keep,
Inherit,
}Variants§
Implementations§
Source§impl EnvBehavior
impl EnvBehavior
Sourcepub const fn is_delete(&self) -> bool
pub const fn is_delete(&self) -> bool
Returns true if the enum is EnvBehavior::Delete otherwise false
Sourcepub const fn is_keep(&self) -> bool
pub const fn is_keep(&self) -> bool
Returns true if the enum is EnvBehavior::Keep otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is EnvBehavior::Inherit otherwise false
Trait Implementations§
Source§impl Clone for EnvBehavior
impl Clone for EnvBehavior
Source§fn clone(&self) -> EnvBehavior
fn clone(&self) -> EnvBehavior
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 EnvBehavior
impl Debug for EnvBehavior
Source§impl Default for EnvBehavior
impl Default for EnvBehavior
Source§fn default() -> EnvBehavior
fn default() -> EnvBehavior
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvBehavior
impl<'de> Deserialize<'de> for EnvBehavior
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 EnvBehavior
impl Display for EnvBehavior
Source§impl PartialEq for EnvBehavior
impl PartialEq for EnvBehavior
Source§impl Serialize for EnvBehavior
impl Serialize for EnvBehavior
impl Copy for EnvBehavior
impl Eq for EnvBehavior
impl StructuralPartialEq for EnvBehavior
Auto Trait Implementations§
impl Freeze for EnvBehavior
impl RefUnwindSafe for EnvBehavior
impl Send for EnvBehavior
impl Sync for EnvBehavior
impl Unpin for EnvBehavior
impl UnwindSafe for EnvBehavior
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