pub struct ListingsRequestBuilder<'a> { /* private fields */ }Expand description
Builder for listings requests
Implementations§
Source§impl<'a> ListingsRequestBuilder<'a>
impl<'a> ListingsRequestBuilder<'a>
pub fn min_price(self, price: i32) -> Self
pub fn max_price(self, price: i32) -> Self
pub fn cursor(self, cursor: String) -> Self
pub fn limit(self, limit: u32) -> Self
pub fn sort_by(self, sort: SortBy) -> Self
pub fn category(self, cat: Category) -> Self
pub fn def_index(self, indices: Vec<i32>) -> Self
pub fn min_float(self, float: f64) -> Self
pub fn max_float(self, float: f64) -> Self
pub fn rarity(self, rarity: String) -> Self
pub fn paint_seed(self, seed: i32) -> Self
pub fn paint_index(self, index: i32) -> Self
pub fn user_id(self, id: String) -> Self
pub fn collection(self, collection: String) -> Self
pub fn market_hash_name(self, name: String) -> Self
pub fn listing_type(self, t: ListingType) -> Self
pub async fn send(self) -> Result<ListingsResponse>
Auto Trait Implementations§
impl<'a> Freeze for ListingsRequestBuilder<'a>
impl<'a> !RefUnwindSafe for ListingsRequestBuilder<'a>
impl<'a> Send for ListingsRequestBuilder<'a>
impl<'a> Sync for ListingsRequestBuilder<'a>
impl<'a> Unpin for ListingsRequestBuilder<'a>
impl<'a> !UnwindSafe for ListingsRequestBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more