pub struct OperationContract {
pub input: Option<ContractSchema>,
pub output: Option<ContractSchema>,
pub event: Option<ContractSchema>,
pub error: Option<ContractSchema>,
}Fields§
§input: Option<ContractSchema>§output: Option<ContractSchema>§event: Option<ContractSchema>§error: Option<ContractSchema>Implementations§
Source§impl OperationContract
impl OperationContract
pub fn unknown() -> OperationContract
Auto Trait Implementations§
impl Freeze for OperationContract
impl RefUnwindSafe for OperationContract
impl Send for OperationContract
impl Sync for OperationContract
impl Unpin for OperationContract
impl UnsafeUnpin for OperationContract
impl UnwindSafe for OperationContract
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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