pub struct OutputSpec {
pub name: NameSpec,
pub ty: Type,
pub description: &'static str,
pub scope: OutputScope,
}Expand description
A single declared output on an OperationMetadata.
Fields§
§name: NameSpecHow the output’s runtime name is determined. See NameSpec.
ty: TypeThe output’s type tag. Use Type::Any when the type varies
with the input.
description: &'static strA human-readable description of the output’s role.
scope: OutputScopeWhere the output is visible: globally or only within the operation’s outputs for the current step.
Trait Implementations§
Source§impl Clone for OutputSpec
impl Clone for OutputSpec
Source§fn clone(&self) -> OutputSpec
fn clone(&self) -> OutputSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputSpec
impl Debug for OutputSpec
Source§impl PartialEq for OutputSpec
impl PartialEq for OutputSpec
impl StructuralPartialEq for OutputSpec
Auto Trait Implementations§
impl Freeze for OutputSpec
impl RefUnwindSafe for OutputSpec
impl Send for OutputSpec
impl Sync for OutputSpec
impl Unpin for OutputSpec
impl UnsafeUnpin for OutputSpec
impl UnwindSafe for OutputSpec
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