pub struct InputPort {
pub name: String,
pub ty: Type,
pub formats: Vec<Format>,
pub many: bool,
pub optional: bool,
}Expand description
What an operation reads: a result of the contract’s type ty, in one of formats (any format
when empty).
Fields§
§name: String§ty: Type§formats: Vec<Format>§many: boolTakes several artifacts (a folder of recordings), not one.
optional: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputPort
impl<'de> Deserialize<'de> for InputPort
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
impl StructuralPartialEq for InputPort
Auto Trait Implementations§
impl Forget for InputPort
impl Freeze for InputPort
impl Move for InputPort
impl RefUnwindSafe for InputPort
impl Send for InputPortwhere
RawVecInner: Send,
impl Sync for InputPortwhere
RawVecInner: Sync,
impl Unpin for InputPort
impl UnsafeUnpin for InputPortwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Format>: UnsafeUnpin,
impl UnwindSafe for InputPortwhere
RawVecInner: UnwindSafe,
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