pub enum SpanKey {
Show 15 variants
Section(&'static str),
Tree {
tree: String,
},
FaultTree {
tree: String,
},
InitiatingEvent {
tree: String,
field: &'static str,
},
TopEvent {
tree: String,
field: &'static str,
},
Node {
tree: String,
id: String,
},
NodeField {
tree: String,
id: String,
field: &'static str,
},
BranchField {
tree: String,
id: String,
branch: usize,
field: &'static str,
},
Gate {
tree: String,
id: String,
},
GateField {
tree: String,
id: String,
field: &'static str,
},
GateInput {
tree: String,
id: String,
idx: usize,
},
BasicEvent {
tree: String,
id: String,
},
BasicEventField {
tree: String,
id: String,
field: &'static str,
},
Transfer {
tree: String,
id: String,
field: &'static str,
},
ImportAlias {
alias: String,
},
}Expand description
A structured locator for a semantic element, used by the validator to attach
positions to diagnostics. Field names use the serde output naming
(e.g. on_failure, root_cause).
Variants§
Section(&'static str)
Tree
FaultTree
InitiatingEvent
TopEvent
Node
NodeField
BranchField
Gate
GateField
GateInput
BasicEvent
BasicEventField
Transfer
ImportAlias
Trait Implementations§
impl Eq for SpanKey
impl StructuralPartialEq for SpanKey
Auto Trait Implementations§
impl Freeze for SpanKey
impl RefUnwindSafe for SpanKey
impl Send for SpanKey
impl Sync for SpanKey
impl Unpin for SpanKey
impl UnsafeUnpin for SpanKey
impl UnwindSafe for SpanKey
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.