Struct steno::SagaNodeId
source · pub struct SagaNodeId(_);
Expand description
Unique identifier for a saga node
Trait Implementations§
source§impl Clone for SagaNodeId
impl Clone for SagaNodeId
source§fn clone(&self) -> SagaNodeId
fn clone(&self) -> SagaNodeId
Returns a copy 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 SagaNodeId
impl Debug for SagaNodeId
source§impl<'de> Deserialize<'de> for SagaNodeId
impl<'de> Deserialize<'de> for SagaNodeId
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 Display for SagaNodeId
impl Display for SagaNodeId
source§impl From<NodeIndex<u32>> for SagaNodeId
impl From<NodeIndex<u32>> for SagaNodeId
Converts a NodeIndex (used by the graph representation to identify a node)
to a SagaNodeId
(used elsewhere in this module to identify a node)
source§fn from(node_id: NodeIndex) -> SagaNodeId
fn from(node_id: NodeIndex) -> SagaNodeId
Converts to this type from the input type.
source§impl From<SagaNodeId> for u32
impl From<SagaNodeId> for u32
source§fn from(v: SagaNodeId) -> Self
fn from(v: SagaNodeId) -> Self
Converts to this type from the input type.
source§impl From<u32> for SagaNodeId
impl From<u32> for SagaNodeId
source§impl JsonSchema for SagaNodeId
impl JsonSchema for SagaNodeId
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§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§impl Ord for SagaNodeId
impl Ord for SagaNodeId
source§fn cmp(&self, other: &SagaNodeId) -> Ordering
fn cmp(&self, other: &SagaNodeId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SagaNodeId> for SagaNodeId
impl PartialEq<SagaNodeId> for SagaNodeId
source§fn eq(&self, other: &SagaNodeId) -> bool
fn eq(&self, other: &SagaNodeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SagaNodeId> for SagaNodeId
impl PartialOrd<SagaNodeId> for SagaNodeId
source§fn partial_cmp(&self, other: &SagaNodeId) -> Option<Ordering>
fn partial_cmp(&self, other: &SagaNodeId) -> Option<Ordering>
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 moresource§impl Serialize for SagaNodeId
impl Serialize for SagaNodeId
impl Copy for SagaNodeId
impl Eq for SagaNodeId
impl StructuralEq for SagaNodeId
impl StructuralPartialEq for SagaNodeId
Auto Trait Implementations§
impl RefUnwindSafe for SagaNodeId
impl Send for SagaNodeId
impl Sync for SagaNodeId
impl Unpin for SagaNodeId
impl UnwindSafe for SagaNodeId
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.