[][src]Struct tarkov::constant::Damage

pub struct Damage {
    pub remove: bool,
    pub time: u64,
    pub duration: u64,
    pub fade_out: Option<u64>,
    pub cost: Option<u64>,
    pub health_penalty_min: Option<u64>,
    pub health_penalty_max: Option<u64>,
}

Damage effect

Fields

remove: bool

?

time: u64

?

duration: u64

Damage effect duration

fade_out: Option<u64>

?

cost: Option<u64>

?

health_penalty_min: Option<u64>

Damage minimum health penalty

health_penalty_max: Option<u64>

Damage maximum health penalty

Trait Implementations

impl Clone for Damage[src]

impl Debug for Damage[src]

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

impl PartialEq<Damage> for Damage[src]

impl StructuralPartialEq for Damage[src]

Auto Trait Implementations

impl RefUnwindSafe for Damage

impl Send for Damage

impl Sync for Damage

impl Unpin for Damage

impl UnwindSafe for Damage

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>,