pub enum TagHandle {
Primary,
Secondary,
Named(String),
Verbatim,
}Expand description
Tag handle types as defined in YAML 1.2 spec
Variants§
Primary
Primary handle (!)
Secondary
Secondary handle (!!)
Named(String)
Named handle (e.g., !e!)
Verbatim
Verbatim tag (e.g., !tag:example.com,2024:type)
Trait Implementations§
impl Eq for TagHandle
impl StructuralPartialEq for TagHandle
Auto Trait Implementations§
impl Freeze for TagHandle
impl RefUnwindSafe for TagHandle
impl Send for TagHandle
impl Sync for TagHandle
impl Unpin for TagHandle
impl UnwindSafe for TagHandle
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.