pub enum DependsOnOptions {
Simple(Vec<String>),
Conditional(IndexMap<String, DependsCondition>),
}
Variants
Simple(Vec<String>)
Conditional(IndexMap<String, DependsCondition>)
Trait Implementations
sourceimpl Clone for DependsOnOptions
impl Clone for DependsOnOptions
sourcefn clone(&self) -> DependsOnOptions
fn clone(&self) -> DependsOnOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DependsOnOptions
impl Debug for DependsOnOptions
sourceimpl<'de> Deserialize<'de> for DependsOnOptions
impl<'de> Deserialize<'de> for DependsOnOptions
sourcefn 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
sourceimpl PartialEq<DependsOnOptions> for DependsOnOptions
impl PartialEq<DependsOnOptions> for DependsOnOptions
sourcefn eq(&self, other: &DependsOnOptions) -> bool
fn eq(&self, other: &DependsOnOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for DependsOnOptions
impl Serialize for DependsOnOptions
impl Eq for DependsOnOptions
impl StructuralEq for DependsOnOptions
impl StructuralPartialEq for DependsOnOptions
Auto Trait Implementations
impl RefUnwindSafe for DependsOnOptions
impl Send for DependsOnOptions
impl Sync for DependsOnOptions
impl Unpin for DependsOnOptions
impl UnwindSafe for DependsOnOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.