doris-rs 0.1.0

DORIS RINEX file parsing and production
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};

#[cfg(doc)]
use crate::prelude::Measurements;

use crate::prelude::{Epoch, EpochFlag};

/// [Key] is used to store [GroundStation]s [Measurements] uniquely.
#[derive(Clone, Debug, Default, PartialEq, PartialOrd, Eq, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct Key {
    /// [EpochFlag] describing attached data and sampling conditions
    pub flag: EpochFlag,

    /// [Epoch] of measurement
    pub epoch: Epoch,
}