#[non_exhaustive]pub struct DroppedLevel {
pub pressure_pa: f64,
pub reason: DropReason,
}Expand description
A pressure level left out of the profile, and why.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pressure_pa: f64The level’s pressure, Pa.
reason: DropReasonWhy it was dropped.
Trait Implementations§
Source§impl Clone for DroppedLevel
impl Clone for DroppedLevel
Source§fn clone(&self) -> DroppedLevel
fn clone(&self) -> DroppedLevel
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 moreimpl Copy for DroppedLevel
Source§impl Debug for DroppedLevel
impl Debug for DroppedLevel
Source§impl<'de> Deserialize<'de> for DroppedLevel
impl<'de> Deserialize<'de> for DroppedLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 DroppedLevel
impl PartialEq for DroppedLevel
Source§fn eq(&self, other: &DroppedLevel) -> bool
fn eq(&self, other: &DroppedLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DroppedLevel
impl Serialize for DroppedLevel
impl StructuralPartialEq for DroppedLevel
Auto Trait Implementations§
impl Freeze for DroppedLevel
impl RefUnwindSafe for DroppedLevel
impl Send for DroppedLevel
impl Sync for DroppedLevel
impl Unpin for DroppedLevel
impl UnsafeUnpin for DroppedLevel
impl UnwindSafe for DroppedLevel
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