[][src]Struct tarkov::trading::Insurance

pub struct Insurance {
    pub availability: bool,
    pub min_payment: u64,
    pub min_return_hour: u64,
    pub max_return_hour: u64,
    pub max_storage_time: u64,
    pub excluded_category: Vec<String>,
}

Trader's insurance offer

Fields

availability: bool

Insurance is available

min_payment: u64

Minimum cost to insure

min_return_hour: u64

Minimum return time in hours.

max_return_hour: u64

Maximum return time in hours.

max_storage_time: u64

Maximum storage time in hours.

excluded_category: Vec<String>

Categories IDs excluded from insurance.

Trait Implementations

impl Clone for Insurance[src]

impl Debug for Insurance[src]

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

impl PartialEq<Insurance> for Insurance[src]

impl StructuralPartialEq for Insurance[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: 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,