pub enum ResolvedTag {
Str,
Int,
Float,
Bool,
Null,
Seq,
Map,
Unknown(String),
}Expand description
A resolved YAML tag — the result of expanding a raw tag string.
Variants§
Str
tag:yaml.org,2002:str
Int
tag:yaml.org,2002:int
Float
tag:yaml.org,2002:float
Bool
tag:yaml.org,2002:bool
Null
tag:yaml.org,2002:null
Seq
tag:yaml.org,2002:seq
Map
tag:yaml.org,2002:map
Unknown(String)
Any tag not recognized by the schema.
Trait Implementations§
Source§impl Clone for ResolvedTag
impl Clone for ResolvedTag
Source§fn clone(&self) -> ResolvedTag
fn clone(&self) -> ResolvedTag
Returns a duplicate 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 ResolvedTag
impl Debug for ResolvedTag
Source§impl PartialEq for ResolvedTag
impl PartialEq for ResolvedTag
impl Eq for ResolvedTag
impl StructuralPartialEq for ResolvedTag
Auto Trait Implementations§
impl Freeze for ResolvedTag
impl RefUnwindSafe for ResolvedTag
impl Send for ResolvedTag
impl Sync for ResolvedTag
impl Unpin for ResolvedTag
impl UnsafeUnpin for ResolvedTag
impl UnwindSafe for ResolvedTag
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