Struct TLE

Source
pub struct TLE {
Show 17 fields pub name: String, pub satellite_number: u32, pub classification: char, pub international_designator: String, pub epoch: String, pub first_derivative_mean_motion: f64, pub second_derivative_mean_motion: f64, pub drag_term: f64, pub ephemeris_type: u32, pub element_number: u32, pub inclination: f64, pub right_ascension: f64, pub eccentricity: f64, pub argument_of_perigee: f64, pub mean_anomaly: f64, pub mean_motion: f64, pub revolution_number: u32,
}

Fields§

§name: String§satellite_number: u32§classification: char§international_designator: String§epoch: String§first_derivative_mean_motion: f64§second_derivative_mean_motion: f64§drag_term: f64§ephemeris_type: u32§element_number: u32§inclination: f64§right_ascension: f64§eccentricity: f64§argument_of_perigee: f64§mean_anomaly: f64§mean_motion: f64§revolution_number: u32

Implementations§

Source§

impl TLE

Source

pub fn to_json(&self) -> String

Trait Implementations§

Source§

impl Debug for TLE

Source§

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

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

impl<'de> Deserialize<'de> for TLE

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for TLE

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for TLE

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for TLE

Auto Trait Implementations§

§

impl Freeze for TLE

§

impl RefUnwindSafe for TLE

§

impl Send for TLE

§

impl Sync for TLE

§

impl Unpin for TLE

§

impl UnwindSafe for TLE

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> 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,