Enum yamlette::model::tagged_value::TaggedValue
source · pub enum TaggedValue {
Show 18 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>),
}
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>)
Implementations§
Trait Implementations§
source§impl Debug for TaggedValue
impl Debug for TaggedValue
source§impl From<BinaryValue> for TaggedValue
impl From<BinaryValue> for TaggedValue
source§fn from(value: BinaryValue) -> Self
fn from(value: BinaryValue) -> Self
Converts to this type from the input type.
source§impl From<BoolValue> for TaggedValue
impl From<BoolValue> for TaggedValue
source§impl From<FloatValue> for TaggedValue
impl From<FloatValue> for TaggedValue
source§fn from(value: FloatValue) -> Self
fn from(value: FloatValue) -> Self
Converts to this type from the input type.
source§impl From<IncognitumValue> for TaggedValue
impl From<IncognitumValue> for TaggedValue
source§fn from(value: IncognitumValue) -> Self
fn from(value: IncognitumValue) -> Self
Converts to this type from the input type.
source§impl From<IntValue> for TaggedValue
impl From<IntValue> for TaggedValue
source§impl From<LiteralValue> for TaggedValue
impl From<LiteralValue> for TaggedValue
source§fn from(value: LiteralValue) -> Self
fn from(value: LiteralValue) -> Self
Converts to this type from the input type.
source§impl From<MapValue> for TaggedValue
impl From<MapValue> for TaggedValue
source§impl From<MergeValue> for TaggedValue
impl From<MergeValue> for TaggedValue
source§fn from(value: MergeValue) -> Self
fn from(value: MergeValue) -> Self
Converts to this type from the input type.
source§impl From<NullValue> for TaggedValue
impl From<NullValue> for TaggedValue
source§impl From<OmapValue> for TaggedValue
impl From<OmapValue> for TaggedValue
source§impl From<PairsValue> for TaggedValue
impl From<PairsValue> for TaggedValue
source§fn from(value: PairsValue) -> Self
fn from(value: PairsValue) -> Self
Converts to this type from the input type.
source§impl From<SeqValue> for TaggedValue
impl From<SeqValue> for TaggedValue
source§impl From<SetValue> for TaggedValue
impl From<SetValue> for TaggedValue
source§impl From<StrValue> for TaggedValue
impl From<StrValue> for TaggedValue
source§impl From<TimestampValue> for TaggedValue
impl From<TimestampValue> for TaggedValue
source§fn from(value: TimestampValue) -> Self
fn from(value: TimestampValue) -> Self
Converts to this type from the input type.
source§impl From<ValueValue> for TaggedValue
impl From<ValueValue> for TaggedValue
source§fn from(value: ValueValue) -> Self
fn from(value: ValueValue) -> Self
Converts to this type from the input type.
source§impl From<YamlValue> for TaggedValue
impl From<YamlValue> for TaggedValue
source§impl Into<Result<BinaryValue, TaggedValue>> for TaggedValue
impl Into<Result<BinaryValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<BinaryValue, Self>
fn into(self) -> Result<BinaryValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<BoolValue, TaggedValue>> for TaggedValue
impl Into<Result<BoolValue, TaggedValue>> for TaggedValue
source§impl Into<Result<FloatValue, TaggedValue>> for TaggedValue
impl Into<Result<FloatValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<FloatValue, Self>
fn into(self) -> Result<FloatValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<IncognitumValue, TaggedValue>> for TaggedValue
impl Into<Result<IncognitumValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<IncognitumValue, Self>
fn into(self) -> Result<IncognitumValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<IntValue, TaggedValue>> for TaggedValue
impl Into<Result<IntValue, TaggedValue>> for TaggedValue
source§impl Into<Result<LiteralValue, TaggedValue>> for TaggedValue
impl Into<Result<LiteralValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<LiteralValue, Self>
fn into(self) -> Result<LiteralValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<MapValue, TaggedValue>> for TaggedValue
impl Into<Result<MapValue, TaggedValue>> for TaggedValue
source§impl Into<Result<MergeValue, TaggedValue>> for TaggedValue
impl Into<Result<MergeValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<MergeValue, Self>
fn into(self) -> Result<MergeValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<NullValue, TaggedValue>> for TaggedValue
impl Into<Result<NullValue, TaggedValue>> for TaggedValue
source§impl Into<Result<OmapValue, TaggedValue>> for TaggedValue
impl Into<Result<OmapValue, TaggedValue>> for TaggedValue
source§impl Into<Result<PairsValue, TaggedValue>> for TaggedValue
impl Into<Result<PairsValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<PairsValue, Self>
fn into(self) -> Result<PairsValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<SeqValue, TaggedValue>> for TaggedValue
impl Into<Result<SeqValue, TaggedValue>> for TaggedValue
source§impl Into<Result<SetValue, TaggedValue>> for TaggedValue
impl Into<Result<SetValue, TaggedValue>> for TaggedValue
source§impl Into<Result<StrValue, TaggedValue>> for TaggedValue
impl Into<Result<StrValue, TaggedValue>> for TaggedValue
source§impl Into<Result<TimestampValue, TaggedValue>> for TaggedValue
impl Into<Result<TimestampValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<TimestampValue, Self>
fn into(self) -> Result<TimestampValue, Self>
Converts this type into the (usually inferred) input type.
source§impl Into<Result<ValueValue, TaggedValue>> for TaggedValue
impl Into<Result<ValueValue, TaggedValue>> for TaggedValue
source§fn into(self) -> Result<ValueValue, Self>
fn into(self) -> Result<ValueValue, Self>
Converts this type into the (usually inferred) input type.