#[non_exhaustive]pub struct NodeView<'a> {
pub id: NodeId,
pub kind: &'static str,
pub value: Option<&'a str>,
pub operation: Option<&'static str>,
pub from: &'a [NodeId],
pub parameters: Option<&'a str>,
pub settings: Option<&'a str>,
pub state: State,
pub end: Option<&'a End>,
pub check: Option<&'a Check>,
}Expand description
A node as a caller reads it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: NodeIdIts number.
kind: &'static strIts value’s kind.
value: Option<&'a str>Its value, where it has one.
operation: Option<&'static str>Its recipe’s operation, where it has one.
from: &'a [NodeId]Its recipe’s inputs.
parameters: Option<&'a str>Its recipe’s parameters, a JSON object or empty.
settings: Option<&'a str>The settings its recipe runs under, a JSON object.
state: StateIts state.
end: Option<&'a End>How the run it shows ended.
check: Option<&'a Check>The check of the run it shows, where it was made.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for NodeView<'a>
impl<'a> Freeze for NodeView<'a>
impl<'a> Move for NodeView<'a>
impl<'a> RefUnwindSafe for NodeView<'a>
impl<'a> Send for NodeView<'a>
impl<'a> Sync for NodeView<'a>
impl<'a> Unpin for NodeView<'a>
impl<'a> UnsafeUnpin for NodeView<'a>
impl<'a> UnwindSafe for NodeView<'a>
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.