pub struct ImportedTask {
pub local_name: String,
pub name: String,
pub span: Span,
pub document: Document,
pub inputs: Arc<IndexMap<String, Input>>,
pub outputs: Arc<IndexMap<String, Output>>,
}Expand description
A task imported into scope by a wildcard or selected-member import.
Fields§
§local_name: StringThe aliased name of the task in the dependent document.
name: StringThe task name in the source document.
span: SpanThe span of the import statement that introduced this task.
document: DocumentThe source document that defines the task.
inputs: Arc<IndexMap<String, Input>>The inputs of the task.
outputs: Arc<IndexMap<String, Output>>The outputs of the task.
Implementations§
Trait Implementations§
Source§impl Clone for ImportedTask
impl Clone for ImportedTask
Source§fn clone(&self) -> ImportedTask
fn clone(&self) -> ImportedTask
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 moreSource§impl Debug for ImportedTask
impl Debug for ImportedTask
Source§impl PartialEq for ImportedTask
impl PartialEq for ImportedTask
impl StructuralPartialEq for ImportedTask
Auto Trait Implementations§
impl Freeze for ImportedTask
impl RefUnwindSafe for ImportedTask
impl Send for ImportedTask
impl Sync for ImportedTask
impl Unpin for ImportedTask
impl UnsafeUnpin for ImportedTask
impl UnwindSafe for ImportedTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more