[][src]Struct diving_decompression::tables::types::DivePlan

pub struct DivePlan {
    pub depth: u16,
    pub bottom_time: u16,
    pub sit: u16,
    pub next_depth: u16,
}

single dive plan object

Fields

depth: u16

the depth of the first planned dive expressed in feet of sea water

bottom_time: u16

the bottom time of the first planned dive expressed in minutes

sit: u16

the planned surface interval time expressed in minutes

next_depth: u16

the depth of the next planned dive expressed in feet of sea water

Implementations

impl DivePlan[src]

pub fn new(d: u16, bt: u16, si: u16, ndd: u16) -> Self[src]

Instantiate a new Dive Plan object

Trait Implementations

impl Clone for DivePlan[src]

impl Copy for DivePlan[src]

impl Debug for DivePlan[src]

impl<'de> Deserialize<'de> for DivePlan[src]

impl Serialize for DivePlan[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.