pub struct Sounding {
pub station: Option<String>,
pub valid: Option<String>,
pub levels: Vec<SoundingLevel>,
}Expand description
A parsed sounding.
Fields§
§station: Option<String>Station identifier, if the header carried one.
valid: Option<String>Observation time string, if the header carried one (kept opaque: this crate never parses clocks).
levels: Vec<SoundingLevel>Measured levels in file order.
Implementations§
Source§impl Sounding
impl Sounding
Sourcepub fn to_profile_field(&self) -> Result<ProfileField>
pub fn to_profile_field(&self) -> Result<ProfileField>
The levels as a validated ProfileField (sorted and checked).
Trait Implementations§
impl StructuralPartialEq for Sounding
Auto Trait Implementations§
impl Freeze for Sounding
impl RefUnwindSafe for Sounding
impl Send for Sounding
impl Sync for Sounding
impl Unpin for Sounding
impl UnsafeUnpin for Sounding
impl UnwindSafe for Sounding
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