pub struct NodeName(_);
Expand description
Unique name for a saga Node
Each node requires a string name that’s unique within its DAG. The name is used to identify its output. Nodes that depend on a given node (either directly or indirectly) can access the node’s output using its name.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeName
impl<'de> Deserialize<'de> for NodeName
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for NodeName
impl JsonSchema for NodeName
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for NodeName
impl Ord for NodeName
source§impl PartialEq<NodeName> for NodeName
impl PartialEq<NodeName> for NodeName
source§impl PartialOrd<NodeName> for NodeName
impl PartialOrd<NodeName> for NodeName
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NodeName
impl StructuralEq for NodeName
impl StructuralPartialEq for NodeName
Auto Trait Implementations§
impl RefUnwindSafe for NodeName
impl Send for NodeName
impl Sync for NodeName
impl Unpin for NodeName
impl UnwindSafe for NodeName
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.