pub enum DiagramLabelDetail {
Compact,
Rich,
}Expand description
How much context to embed in diagram node labels (DOT / Mermaid).
DiagramLabelDetail::Compact preserves historical default: node name only.
DiagramLabelDetail::Rich appends trust zone and selected metadata fields
already present on nodes (identity_scope, permissions) — no new graph logic.
Variants§
Trait Implementations§
Source§impl Clone for DiagramLabelDetail
impl Clone for DiagramLabelDetail
Source§fn clone(&self) -> DiagramLabelDetail
fn clone(&self) -> DiagramLabelDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiagramLabelDetail
impl Debug for DiagramLabelDetail
Source§impl Default for DiagramLabelDetail
impl Default for DiagramLabelDetail
Source§fn default() -> DiagramLabelDetail
fn default() -> DiagramLabelDetail
Returns the “default value” for a type. Read more
Source§impl Hash for DiagramLabelDetail
impl Hash for DiagramLabelDetail
Source§impl PartialEq for DiagramLabelDetail
impl PartialEq for DiagramLabelDetail
Source§fn eq(&self, other: &DiagramLabelDetail) -> bool
fn eq(&self, other: &DiagramLabelDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DiagramLabelDetail
impl Eq for DiagramLabelDetail
impl StructuralPartialEq for DiagramLabelDetail
Auto Trait Implementations§
impl Freeze for DiagramLabelDetail
impl RefUnwindSafe for DiagramLabelDetail
impl Send for DiagramLabelDetail
impl Sync for DiagramLabelDetail
impl Unpin for DiagramLabelDetail
impl UnsafeUnpin for DiagramLabelDetail
impl UnwindSafe for DiagramLabelDetail
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.