コンテンツにスキップ

ParsedElementSet

このコンテンツはまだ日本語訳がありません。

Defined in: elements.rs:195

Available on crate feature alloc only.

pub struct ParsedElementSet {
pub elements: Sgp4Elements,
pub object_name: Option<alloc::string::String>,
pub object_id: Option<alloc::string::String>,
}

A parsed element set: the numeric Sgp4Elements plus owned satellite identity strings.

The return type of the text parsers (parse, crate::tle::parse, the crate::omm decoders). Carrying the OBJECT_NAME / OBJECT_ID strings requires alloc; the numeric elements(Self::elements) it wraps does not.

elements: Sgp4Elements

The numeric mean elements (allocator-free; feed these to SGP4).


object_name: [Option<alloc::string::String>](https://doc.rust-lang.org/std/option/enum.Option.html)

OBJECT_NAME — satellite name, if present.


object_id: [Option<alloc::string::String>](https://doc.rust-lang.org/std/option/enum.Option.html)

OBJECT_ID — international designator (e.g. "1998-067A"), if present.