pub enum LabelMode {
None,
Short,
Full,
}Expand description
Controls the level of detail in human-readable ID presentation.
Variants§
None
No labeling; displays only the canonical ID value.
Example: 550e8400-e29b-41d4-a716-446655440000
Short
Short labeling; displays Entity::value.
Example: User::550e8400-e29b-41d4-a716-446655440000
Full
Full labeling; displays Entity@provenance::value.
Example: User@generated/uuid-v7::550e8400-e29b-41d4-a716-446655440000
Trait Implementations§
Source§impl From<LabelPolicy> for LabelMode
impl From<LabelPolicy> for LabelMode
Source§fn from(policy: LabelPolicy) -> Self
fn from(policy: LabelPolicy) -> Self
Converts to this type from the input type.
impl Copy for LabelMode
impl Eq for LabelMode
impl StructuralPartialEq for LabelMode
Auto Trait Implementations§
impl Freeze for LabelMode
impl RefUnwindSafe for LabelMode
impl Send for LabelMode
impl Sync for LabelMode
impl Unpin for LabelMode
impl UnwindSafe for LabelMode
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