pub struct IoSpec {
pub name: String,
pub type: TypeRef,
pub cardinality: Cardinality,
pub mount: Option<PathBuf>,
pub description: Option<String>,
pub default: Option<String>,
}Expand description
Typed I/O port declaration for a tool.
Fields§
§name: String§type: TypeRefType reference, e.g. "fasta" or "fasta[protein]".
cardinality: CardinalityHow many values this port accepts.
mount: Option<PathBuf>Absolute path inside the container where this value is mounted.
description: Option<String>§default: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for IoSpec
impl<'de> Deserialize<'de> for IoSpec
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 IoSpec
impl RefUnwindSafe for IoSpec
impl Send for IoSpec
impl Sync for IoSpec
impl Unpin for IoSpec
impl UnsafeUnpin for IoSpec
impl UnwindSafe for IoSpec
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