[][src]Struct os_balloon::config::Flight

pub struct Flight {
    length: u32,
    expected_max_height: u32,
}

Flight configuration structure.

Fields

length: u32

Approximate expected flight length, in minutes.

expected_max_height: u32

Approximate expected maximum height, in meters.

Methods

impl Flight[src]

pub fn length(self) -> u32[src]

Gets the approximate expected flight length, in minutes.

pub fn expected_max_height(self) -> u32[src]

Gets the approximate expected maximum height, in meters.

Trait Implementations

impl Clone for Flight[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for Flight[src]

impl Debug for Flight[src]

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

fn deserialize_in_place<D>(
    deserializer: D,
    place: &mut Self
) -> Result<(), <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
[src]

Deserializes a value into self from the given Deserializer. Read more

Auto Trait Implementations

impl Send for Flight

impl Sync for Flight

Blanket Implementations

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.

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

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

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

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

impl<T> Erased for T[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]

impl<T> UnsafeAny for T where
    T: Any
[src]