pub struct InternationalDesignator(pub String);Expand description
COSPAR (international) designator, stored verbatim from the TLE field.
Format: 2-digit launch year, 3-digit launch number, up to 3-char piece
(e.g. "98067A").
§Examples
use siderust::formats::tle::InternationalDesignator;
let d = InternationalDesignator("98067A".to_string());
assert_eq!(d.0, "98067A");Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for InternationalDesignator
impl Clone for InternationalDesignator
Source§fn clone(&self) -> InternationalDesignator
fn clone(&self) -> InternationalDesignator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InternationalDesignator
impl Debug for InternationalDesignator
impl Eq for InternationalDesignator
Source§impl Hash for InternationalDesignator
impl Hash for InternationalDesignator
Source§impl PartialEq for InternationalDesignator
impl PartialEq for InternationalDesignator
Source§fn eq(&self, other: &InternationalDesignator) -> bool
fn eq(&self, other: &InternationalDesignator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InternationalDesignator
Auto Trait Implementations§
impl Freeze for InternationalDesignator
impl RefUnwindSafe for InternationalDesignator
impl Send for InternationalDesignator
impl Sync for InternationalDesignator
impl Unpin for InternationalDesignator
impl UnsafeUnpin for InternationalDesignator
impl UnwindSafe for InternationalDesignator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> UsingEngine for T
impl<T> UsingEngine for T
Source§fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
Wrap this coordinate with a custom transform context for the next
transformation call.