[][src]Struct tarkov::ragfair::Offer

pub struct Offer {
    pub id: String,
    pub int_id: u64,
    pub user: User,
    pub root: String,
    pub items: Vec<Item>,
    pub items_cost: u64,
    pub requirements: Vec<Requirement>,
    pub requirements_cost: u64,
    pub summary_cost: u64,
    pub sell_in_one_piece: bool,
    pub start_time: u64,
    pub end_time: u64,
    pub loyalty_level: u64,
}

Market offer

Fields

id: String

Offer ID

int_id: u64

?

user: User

Merchant profile

root: String

?

items: Vec<Item>

Items for sale

items_cost: u64

Items cost

requirements: Vec<Requirement>

Items wanted in return

requirements_cost: u64

Requirement items cost

summary_cost: u64

Summary cost

sell_in_one_piece: bool

?

start_time: u64

Time when item was listed on the market.

Add 60 seconds for the true start time, when the item will be available for purchase.

end_time: u64

Offer expiry time

loyalty_level: u64

Merchant loyalty level

Trait Implementations

impl Clone for Offer[src]

impl Debug for Offer[src]

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

impl PartialEq<Offer> for Offer[src]

impl Serialize for Offer[src]

impl StructuralPartialEq for Offer[src]

Auto Trait Implementations

impl RefUnwindSafe for Offer

impl Send for Offer

impl Sync for Offer

impl Unpin for Offer

impl UnwindSafe for Offer

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.

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