pub struct GenePrecondition {
pub description: String,
pub check: Option<String>,
}Expand description
Precondition for gene execution
Fields§
§description: StringDescription of the precondition
check: Option<String>Check command (optional)
Trait Implementations§
Source§impl Clone for GenePrecondition
impl Clone for GenePrecondition
Source§fn clone(&self) -> GenePrecondition
fn clone(&self) -> GenePrecondition
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 GenePrecondition
impl Debug for GenePrecondition
Source§impl<'de> Deserialize<'de> for GenePrecondition
impl<'de> Deserialize<'de> for GenePrecondition
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
Auto Trait Implementations§
impl Freeze for GenePrecondition
impl RefUnwindSafe for GenePrecondition
impl Send for GenePrecondition
impl Sync for GenePrecondition
impl Unpin for GenePrecondition
impl UnsafeUnpin for GenePrecondition
impl UnwindSafe for GenePrecondition
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