pub struct When {
pub condition: WhenCondition,
}Expand description
Runtime representation of a when condition
Fields§
§condition: WhenConditionImplementations§
Source§impl When
impl When
pub fn from_config(config: When) -> Self
Sourcepub fn dependencies(&self) -> Vec<String>
pub fn dependencies(&self) -> Vec<String>
Get dependencies from this condition
Trait Implementations§
Auto Trait Implementations§
impl Freeze for When
impl RefUnwindSafe for When
impl Send for When
impl Sync for When
impl Unpin for When
impl UnwindSafe for When
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