Skip to content

Commit 0941abe

Browse files
authored
Merge pull request #15 from ShenMian/patch-1
refactor: derive Debug and Clone for Classification and Elements
2 parents 3a2b2c7 + c895646 commit 0941abe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tle.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ impl DecimalPointAssumedRepresentation for [u8] {
225225
}
226226

227227
/// A satellite's elements classification
228+
#[derive(Debug, Clone)]
228229
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
229230
pub enum Classification {
230231
/// Declassfied objects or objects without a classification
@@ -279,6 +280,7 @@ pub enum Classification {
279280
/// )?;
280281
/// # Ok(())
281282
/// # }
283+
#[derive(Debug, Clone)]
282284
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
283285
pub struct Elements {
284286
/// The name associated with the satellite

0 commit comments

Comments
 (0)