[][src]Struct tarkov::market_filter::MarketFilter

pub struct MarketFilter<'a> {
    pub sort_type: SortBy,
    pub sort_direction: SortDirection,
    pub currency: Currency,
    pub min_price: Option<u64>,
    pub max_price: Option<u64>,
    pub min_quantity: Option<u64>,
    pub max_quantity: Option<u64>,
    pub min_condition: Option<u64>,
    pub max_condition: Option<u64>,
    pub expiring_within_hour: bool,
    pub hide_bartering_offers: bool,
    pub owner_type: Owner,
    pub hide_inoperable_weapons: bool,
    pub handbook_id: Option<&'a str>,
    pub linked_search_id: Option<&'a str>,
    pub required_search_id: Option<&'a str>,
}

Search filter for the flea market.

Fields

sort_type: SortBy

Sort type.

sort_direction: SortDirection

Sort direction.

currency: Currency

Offer currency type.

min_price: Option<u64>

Minimum item price.

max_price: Option<u64>

Maximum item price.

min_quantity: Option<u64>

Minimum item quantity.

max_quantity: Option<u64>

Maximum item quantity.

min_condition: Option<u64>

Minimum item condition percentage.

max_condition: Option<u64>

Maximum item condition percentage.

expiring_within_hour: bool

Show offers expiring soon.

hide_bartering_offers: bool

Hide offers asking for items for trade.

owner_type: Owner

Offer owner type.

hide_inoperable_weapons: bool

Hide inoperable weapons.

handbook_id: Option<&'a str>

Search by market category or item ID.

linked_search_id: Option<&'a str>

Search item related to item ID.

required_search_id: Option<&'a str>

Search items that can be traded for item ID.

Trait Implementations

impl<'a> Clone for MarketFilter<'a>[src]

impl<'a> Debug for MarketFilter<'a>[src]

impl<'a> Default for MarketFilter<'a>[src]

impl<'a> PartialEq<MarketFilter<'a>> for MarketFilter<'a>[src]

impl<'a> StructuralPartialEq for MarketFilter<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for MarketFilter<'a>

impl<'a> Send for MarketFilter<'a>

impl<'a> Sync for MarketFilter<'a>

impl<'a> Unpin for MarketFilter<'a>

impl<'a> UnwindSafe for MarketFilter<'a>

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