pub struct MarketScope<E>(/* private fields */)
where
E: Executor;
Implementations§
Source§impl<E> MarketScope<E>where
E: Executor,
impl<E> MarketScope<E>where
E: Executor,
pub fn new(executor: E) -> Self
Sourcepub async fn bazaar<S>(
self,
builder: impl FnOnce(MarketBazaarRequestBuilder<Empty>) -> MarketBazaarRequestBuilder<S>,
) -> Result<BazaarResponse, E::Error>where
S: IsComplete,
pub async fn bazaar<S>(
self,
builder: impl FnOnce(MarketBazaarRequestBuilder<Empty>) -> MarketBazaarRequestBuilder<S>,
) -> Result<BazaarResponse, E::Error>where
S: IsComplete,
Get bazaar directory
§Description
Requires public access key.
The default response is of type ‘BazaarWeekly’, but if a category is chosen, the response will be of type ‘BazaarSpecialized’.
Sourcepub async fn bazaar_for_id<S>(
self,
id: ItemId,
builder: impl FnOnce(MarketBazaarForIdRequestBuilder<Empty>) -> MarketBazaarForIdRequestBuilder<S>,
) -> Result<BazaarResponseSpecialized, E::Error>where
S: IsComplete,
pub async fn bazaar_for_id<S>(
self,
id: ItemId,
builder: impl FnOnce(MarketBazaarForIdRequestBuilder<Empty>) -> MarketBazaarForIdRequestBuilder<S>,
) -> Result<BazaarResponseSpecialized, E::Error>where
S: IsComplete,
Sourcepub async fn itemmarket_for_id<S>(
self,
id: ItemId,
builder: impl FnOnce(MarketItemmarketForIdRequestBuilder<Empty>) -> MarketItemmarketForIdRequestBuilder<S>,
) -> Result<MarketItemMarketResponse, E::Error>where
S: IsComplete,
pub async fn itemmarket_for_id<S>(
self,
id: ItemId,
builder: impl FnOnce(MarketItemmarketForIdRequestBuilder<Empty>) -> MarketItemmarketForIdRequestBuilder<S>,
) -> Result<MarketItemMarketResponse, E::Error>where
S: IsComplete,
Sourcepub async fn properties_for_property_type_id<S>(
self,
property_type_id: PropertyTypeId,
builder: impl FnOnce(MarketPropertiesForPropertyTypeIdRequestBuilder<Empty>) -> MarketPropertiesForPropertyTypeIdRequestBuilder<S>,
) -> Result<MarketPropertiesResponse, E::Error>where
S: IsComplete,
pub async fn properties_for_property_type_id<S>(
self,
property_type_id: PropertyTypeId,
builder: impl FnOnce(MarketPropertiesForPropertyTypeIdRequestBuilder<Empty>) -> MarketPropertiesForPropertyTypeIdRequestBuilder<S>,
) -> Result<MarketPropertiesResponse, E::Error>where
S: IsComplete,
Sourcepub async fn rentals_for_property_type_id<S>(
self,
property_type_id: PropertyTypeId,
builder: impl FnOnce(MarketRentalsForPropertyTypeIdRequestBuilder<Empty>) -> MarketRentalsForPropertyTypeIdRequestBuilder<S>,
) -> Result<MarketRentalsResponse, E::Error>where
S: IsComplete,
pub async fn rentals_for_property_type_id<S>(
self,
property_type_id: PropertyTypeId,
builder: impl FnOnce(MarketRentalsForPropertyTypeIdRequestBuilder<Empty>) -> MarketRentalsForPropertyTypeIdRequestBuilder<S>,
) -> Result<MarketRentalsResponse, E::Error>where
S: IsComplete,
Sourcepub async fn lookup<S>(
self,
builder: impl FnOnce(MarketLookupRequestBuilder<Empty>) -> MarketLookupRequestBuilder<S>,
) -> Result<MarketLookupResponse, E::Error>where
S: IsComplete,
pub async fn lookup<S>(
self,
builder: impl FnOnce(MarketLookupRequestBuilder<Empty>) -> MarketLookupRequestBuilder<S>,
) -> Result<MarketLookupResponse, E::Error>where
S: IsComplete,
Sourcepub async fn timestamp<S>(
self,
builder: impl FnOnce(MarketTimestampRequestBuilder<Empty>) -> MarketTimestampRequestBuilder<S>,
) -> Result<TimestampResponse, E::Error>where
S: IsComplete,
pub async fn timestamp<S>(
self,
builder: impl FnOnce(MarketTimestampRequestBuilder<Empty>) -> MarketTimestampRequestBuilder<S>,
) -> Result<TimestampResponse, E::Error>where
S: IsComplete,
Sourcepub async fn for_selections<S>(
self,
builder: impl FnOnce(MarketRequestBuilder<Empty>) -> MarketRequestBuilder<S>,
) -> Result<Response, E::Error>where
S: IsComplete,
pub async fn for_selections<S>(
self,
builder: impl FnOnce(MarketRequestBuilder<Empty>) -> MarketRequestBuilder<S>,
) -> Result<Response, E::Error>where
S: IsComplete,
Get any Market selection
§Description
Requires public access key.
Choose one or more selections (comma separated).
Auto Trait Implementations§
impl<E> Freeze for MarketScope<E>where
E: Freeze,
impl<E> RefUnwindSafe for MarketScope<E>where
E: RefUnwindSafe,
impl<E> Send for MarketScope<E>where
E: Send,
impl<E> Sync for MarketScope<E>where
E: Sync,
impl<E> Unpin for MarketScope<E>where
E: Unpin,
impl<E> UnwindSafe for MarketScope<E>where
E: UnwindSafe,
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