[][src]Enum yamlette::model::tagged_value::TaggedValue

pub enum TaggedValue {
    Binary(BinaryValue),
    Bool(BoolValue),
    Float(FloatValue),
    Int(IntValue),
    Map(MapValue),
    Merge(MergeValue),
    Null(NullValue),
    Omap(OmapValue),
    Pairs(PairsValue),
    Seq(SeqValue),
    Set(SetValue),
    Str(StrValue),
    Timestamp(TimestampValue),
    Value(ValueValue),
    Yaml(YamlValue),
    Literal(LiteralValue),
    Incognitum(IncognitumValue),
    Other(Cow<'static, str>, Box<dyn Any + Send>),
}

Variants

Binary(BinaryValue)Bool(BoolValue)Float(FloatValue)Int(IntValue)Map(MapValue)Merge(MergeValue)Null(NullValue)Omap(OmapValue)Pairs(PairsValue)Seq(SeqValue)Set(SetValue)Str(StrValue)Timestamp(TimestampValue)Value(ValueValue)Yaml(YamlValue)Literal(LiteralValue)Incognitum(IncognitumValue)Other(Cow<'static, str>, Box<dyn Any + Send>)

Methods

impl TaggedValue[src]

pub fn new(tag: Cow<'static, str>, value: Box<dyn Any + Send>) -> Self[src]

pub fn get_boxed(self) -> Box<dyn Any + Send>[src]

Trait Implementations

impl Tagged for TaggedValue[src]

impl Into<Result<BinaryValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<BoolValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<FloatValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<IntValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<MapValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<MergeValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<NullValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<OmapValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<PairsValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<SeqValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<SetValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<StrValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<TimestampValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<ValueValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<YamlValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<LiteralValue, TaggedValue>> for TaggedValue[src]

impl Into<Result<IncognitumValue, TaggedValue>> for TaggedValue[src]

impl From<BinaryValue> for TaggedValue[src]

impl From<BoolValue> for TaggedValue[src]

impl From<FloatValue> for TaggedValue[src]

impl From<IntValue> for TaggedValue[src]

impl From<MapValue> for TaggedValue[src]

impl From<MergeValue> for TaggedValue[src]

impl From<NullValue> for TaggedValue[src]

impl From<OmapValue> for TaggedValue[src]

impl From<PairsValue> for TaggedValue[src]

impl From<SeqValue> for TaggedValue[src]

impl From<SetValue> for TaggedValue[src]

impl From<StrValue> for TaggedValue[src]

impl From<TimestampValue> for TaggedValue[src]

impl From<ValueValue> for TaggedValue[src]

impl From<YamlValue> for TaggedValue[src]

impl From<LiteralValue> for TaggedValue[src]

impl From<IncognitumValue> for TaggedValue[src]

impl Debug for TaggedValue[src]

Auto Trait Implementations

impl Send for TaggedValue

impl !Sync for TaggedValue

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]