Skip to main content

Tag

Enum Tag 

Source
pub enum Tag {
Show 108 variants SpaceSystem, TelemetryMetaData, CommandMetaData, ArgumentTypeSet, MetaCommandSet, MetaCommand, BaseMetaCommand, ArgumentAssignmentList, ArgumentAssignment, ArgumentList, Argument, CommandContainer, CommandContainerSet, ArgumentRefEntry, ArrayArgumentRefEntry, FixedValueEntry, IntegerArgumentType, FloatArgumentType, StringArgumentType, BinaryArgumentType, BooleanArgumentType, EnumeratedArgumentType, AbsoluteTimeArgumentType, RelativeTimeArgumentType, ArrayArgumentType, AggregateArgumentType, ParameterTypeSet, ParameterSet, ContainerSet, Parameter, SequenceContainer, BaseContainer, RestrictionCriteria, EntryList, ParameterRefEntry, ContainerRefEntry, IndirectParameterRefEntry, ArrayParameterRefEntry, LocationInContainerInBits, IntegerParameterType, FloatParameterType, StringParameterType, BinaryParameterType, BooleanParameterType, EnumeratedParameterType, AbsoluteTimeParameterType, RelativeTimeParameterType, ArrayParameterType, DimensionList, Dimension, StartingIndex, EndingIndex, AggregateParameterType, MemberList, Member, IntegerDataEncoding, FloatDataEncoding, StringDataEncoding, BinaryDataEncoding, Encoding, SizeInBits, Fixed, FixedValue, Variable, DynamicValue, DiscreteLookupList, DiscreteLookup, LeadingSize, TerminationChar, ParameterInstanceRef, LinearAdjustment, EnumerationList, Enumeration, Comparison, ComparisonList, BooleanExpression, Condition, ANDedConditions, ORedConditions, ComparisonOperator, Value, DefaultCalibrator, ContextCalibratorList, ContextCalibrator, ContextMatch, Calibrator, PolynomialCalibrator, SplineCalibrator, MathOperationCalibrator, Term, SplinePoint, CustomAlgorithm, UnitSet, Unit, LongDescription, ReferenceTime, Epoch, OffsetFrom, RepeatEntry, Count, IncludeCondition, ServiceSet, MessageSet, StreamSet, AlgorithmSet, AliasSet, AncillaryDataSet, Other,
}
Expand description

XTCE element local names that carry meaning for telemetry decoding.

Namespace prefixes are stripped before lookup, so <xtce:SpaceSystem>, <SpaceSystem> and a default-namespaced <SpaceSystem> all map to Tag::SpaceSystem. All three spellings occur in the wild — the reference implementation ships a test file for each.

Variants§

§

SpaceSystem

The XML symbol SpaceSystem.

§

TelemetryMetaData

The XML symbol TelemetryMetaData.

§

CommandMetaData

The XML symbol CommandMetaData.

§

ArgumentTypeSet

The XML symbol ArgumentTypeSet.

§

MetaCommandSet

The XML symbol MetaCommandSet.

§

MetaCommand

The XML symbol MetaCommand.

§

BaseMetaCommand

The XML symbol BaseMetaCommand.

§

ArgumentAssignmentList

The XML symbol ArgumentAssignmentList.

§

ArgumentAssignment

The XML symbol ArgumentAssignment.

§

ArgumentList

The XML symbol ArgumentList.

§

Argument

The XML symbol Argument.

§

CommandContainer

The XML symbol CommandContainer.

§

CommandContainerSet

The XML symbol CommandContainerSet.

§

ArgumentRefEntry

The XML symbol ArgumentRefEntry.

§

ArrayArgumentRefEntry

The XML symbol ArrayArgumentRefEntry.

§

FixedValueEntry

The XML symbol FixedValueEntry.

§

IntegerArgumentType

The XML symbol IntegerArgumentType.

§

FloatArgumentType

The XML symbol FloatArgumentType.

§

StringArgumentType

The XML symbol StringArgumentType.

§

BinaryArgumentType

The XML symbol BinaryArgumentType.

§

BooleanArgumentType

The XML symbol BooleanArgumentType.

§

EnumeratedArgumentType

The XML symbol EnumeratedArgumentType.

§

AbsoluteTimeArgumentType

The XML symbol AbsoluteTimeArgumentType.

§

RelativeTimeArgumentType

The XML symbol RelativeTimeArgumentType.

§

ArrayArgumentType

The XML symbol ArrayArgumentType.

§

AggregateArgumentType

The XML symbol AggregateArgumentType.

§

ParameterTypeSet

The XML symbol ParameterTypeSet.

§

ParameterSet

The XML symbol ParameterSet.

§

ContainerSet

The XML symbol ContainerSet.

§

Parameter

The XML symbol Parameter.

§

SequenceContainer

The XML symbol SequenceContainer.

§

BaseContainer

The XML symbol BaseContainer.

§

RestrictionCriteria

The XML symbol RestrictionCriteria.

§

EntryList

The XML symbol EntryList.

§

ParameterRefEntry

The XML symbol ParameterRefEntry.

§

ContainerRefEntry

The XML symbol ContainerRefEntry.

§

IndirectParameterRefEntry

The XML symbol IndirectParameterRefEntry.

§

ArrayParameterRefEntry

The XML symbol ArrayParameterRefEntry.

§

LocationInContainerInBits

The XML symbol LocationInContainerInBits.

§

IntegerParameterType

The XML symbol IntegerParameterType.

§

FloatParameterType

The XML symbol FloatParameterType.

§

StringParameterType

The XML symbol StringParameterType.

§

BinaryParameterType

The XML symbol BinaryParameterType.

§

BooleanParameterType

The XML symbol BooleanParameterType.

§

EnumeratedParameterType

The XML symbol EnumeratedParameterType.

§

AbsoluteTimeParameterType

The XML symbol AbsoluteTimeParameterType.

§

RelativeTimeParameterType

The XML symbol RelativeTimeParameterType.

§

ArrayParameterType

The XML symbol ArrayParameterType.

§

DimensionList

The XML symbol DimensionList.

§

Dimension

The XML symbol Dimension.

§

StartingIndex

The XML symbol StartingIndex.

§

EndingIndex

The XML symbol EndingIndex.

§

AggregateParameterType

The XML symbol AggregateParameterType.

§

MemberList

The XML symbol MemberList.

§

Member

The XML symbol Member.

§

IntegerDataEncoding

The XML symbol IntegerDataEncoding.

§

FloatDataEncoding

The XML symbol FloatDataEncoding.

§

StringDataEncoding

The XML symbol StringDataEncoding.

§

BinaryDataEncoding

The XML symbol BinaryDataEncoding.

§

Encoding

The XML symbol Encoding.

§

SizeInBits

The XML symbol SizeInBits.

§

Fixed

The XML symbol Fixed.

§

FixedValue

The XML symbol FixedValue.

§

Variable

The XML symbol Variable.

§

DynamicValue

The XML symbol DynamicValue.

§

DiscreteLookupList

The XML symbol DiscreteLookupList.

§

DiscreteLookup

The XML symbol DiscreteLookup.

§

LeadingSize

The XML symbol LeadingSize.

§

TerminationChar

The XML symbol TerminationChar.

§

ParameterInstanceRef

The XML symbol ParameterInstanceRef.

§

LinearAdjustment

The XML symbol LinearAdjustment.

§

EnumerationList

The XML symbol EnumerationList.

§

Enumeration

The XML symbol Enumeration.

§

Comparison

The XML symbol Comparison.

§

ComparisonList

The XML symbol ComparisonList.

§

BooleanExpression

The XML symbol BooleanExpression.

§

Condition

The XML symbol Condition.

§

ANDedConditions

The XML symbol ANDedConditions.

§

ORedConditions

The XML symbol ORedConditions.

§

ComparisonOperator

The XML symbol ComparisonOperator.

§

Value

The XML symbol Value.

§

DefaultCalibrator

The XML symbol DefaultCalibrator.

§

ContextCalibratorList

The XML symbol ContextCalibratorList.

§

ContextCalibrator

The XML symbol ContextCalibrator.

§

ContextMatch

The XML symbol ContextMatch.

§

Calibrator

The XML symbol Calibrator.

§

PolynomialCalibrator

The XML symbol PolynomialCalibrator.

§

SplineCalibrator

The XML symbol SplineCalibrator.

§

MathOperationCalibrator

The XML symbol MathOperationCalibrator.

§

Term

The XML symbol Term.

§

SplinePoint

The XML symbol SplinePoint.

§

CustomAlgorithm

The XML symbol CustomAlgorithm.

§

UnitSet

The XML symbol UnitSet.

§

Unit

The XML symbol Unit.

§

LongDescription

The XML symbol LongDescription.

§

ReferenceTime

The XML symbol ReferenceTime.

§

Epoch

The XML symbol Epoch.

§

OffsetFrom

The XML symbol OffsetFrom.

§

RepeatEntry

The XML symbol RepeatEntry.

§

Count

The XML symbol Count.

§

IncludeCondition

The XML symbol IncludeCondition.

§

ServiceSet

The XML symbol ServiceSet.

§

MessageSet

The XML symbol MessageSet.

§

StreamSet

The XML symbol StreamSet.

§

AlgorithmSet

The XML symbol AlgorithmSet.

§

AliasSet

The XML symbol AliasSet.

§

AncillaryDataSet

The XML symbol AncillaryDataSet.

§

Other

Any symbol outside the vocabulary this crate understands.

Implementations§

Source§

impl Tag

Source

pub const ALL: &'static [Tag]

Every named variant, in declaration order.

Source

pub const fn text(self) -> &'static str

The XML spelling of this symbol; "" for Self::Other.

Source

pub fn from_text(text: &str) -> Self

Recognises a local name, returning Self::Other for anything outside the vocabulary.

Trait Implementations§

Source§

impl Clone for Tag

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Tag

Source§

impl Debug for Tag

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Tag

Source§

impl Hash for Tag

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Tag

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Tag

Auto Trait Implementations§

§

impl Forget for Tag

§

impl Freeze for Tag

§

impl Move for Tag

§

impl RefUnwindSafe for Tag

§

impl Send for Tag

§

impl Sync for Tag

§

impl Unpin for Tag

§

impl UnsafeUnpin for Tag

§

impl UnwindSafe for Tag

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.