pub struct TaskContract {
pub arguments: TaskArguments,
pub kind: TaskKind,
pub context: Ident,
pub inputs: Vec<Parameter>,
pub diverges: bool,
}Fields§
§arguments: TaskArguments§kind: TaskKind§context: Ident§inputs: Vec<Parameter>§diverges: boolImplementations§
Source§impl TaskContract
impl TaskContract
pub fn new(arguments: TaskArguments, signature: &Signature) -> Result<Self>
Trait Implementations§
Source§impl Clone for TaskContract
impl Clone for TaskContract
Source§fn clone(&self) -> TaskContract
fn clone(&self) -> TaskContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for TaskContract
impl !Sync for TaskContract
impl Freeze for TaskContract
impl RefUnwindSafe for TaskContract
impl Unpin for TaskContract
impl UnsafeUnpin for TaskContract
impl UnwindSafe for TaskContract
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