pub struct OutputPort {
pub name: String,
pub ty: Type,
pub format: Format,
}Expand description
What an operation writes: a result of the contract’s type ty in format.
Fields§
§name: String§ty: Type§format: FormatTrait Implementations§
Source§impl Clone for OutputPort
impl Clone for OutputPort
Source§impl Debug for OutputPort
impl Debug for OutputPort
Source§impl<'de> Deserialize<'de> for OutputPort
impl<'de> Deserialize<'de> for OutputPort
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
Source§impl PartialEq for OutputPort
impl PartialEq for OutputPort
Source§impl Serialize for OutputPort
impl Serialize for OutputPort
impl StructuralPartialEq for OutputPort
Auto Trait Implementations§
impl Forget for OutputPort
impl Freeze for OutputPort
impl Move for OutputPort
impl RefUnwindSafe for OutputPort
impl Send for OutputPortwhere
RawVecInner: Send,
impl Sync for OutputPortwhere
RawVecInner: Sync,
impl Unpin for OutputPort
impl UnsafeUnpin for OutputPort
impl UnwindSafe for OutputPortwhere
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