[−][src]Struct skyblock_rs::client::SkyblockApi
Implementations
impl<'a> SkyblockApi<'a>
[src]
pub fn pooled(keys: Vec<&str>) -> SkyblockApi
[src]
pub fn singleton(key: &str) -> SkyblockApi
[src]
pub async fn get<'_, '_, '_, T>(
&'_ mut self,
path: &'_ str,
params: Vec<(&'_ str, String)>
) -> Result<T> where
T: for<'de> Deserialize<'de>,
[src]
&'_ mut self,
path: &'_ str,
params: Vec<(&'_ str, String)>
) -> Result<T> where
T: for<'de> Deserialize<'de>,
impl<'a> SkyblockApi<'a>
[src]
pub async fn iter_active_auctions<'_, F>(&'_ mut self, __arg1: F) -> Result<()> where
F: FnMut(Auction) -> Result<()>,
[src]
F: FnMut(Auction) -> Result<()>,
Helper function, allows the user to pass a function tio the API to iterate over the listings on auction right now, instead of allocating for the entire auction house and returning that to the caller.
pub async fn get_auctions_page<'_>(
&'_ mut self,
page: usize
) -> Result<GlobalAuctions>
[src]
&'_ mut self,
page: usize
) -> Result<GlobalAuctions>
Returns a particular page of auctions to the caller.
impl<'a> SkyblockApi<'a>
[src]
pub async fn get_bazaar_products<'_>(&'_ mut self) -> Result<Vec<String>>
[src]
👎 Deprecated
Deprecated function to fetch a list of available Product IDs from the API.
pub async fn get_bazaar_product_listing<'_>(
&'_ mut self
) -> Result<HashMap<String, Product>>
[src]
&'_ mut self
) -> Result<HashMap<String, Product>>
Fetch all Bazaar products and their current state.
This endpoint returns a None
in the week_historic
field.
pub async fn get_bazaar_product<'_, '_>(
&'_ mut self,
product: &'_ str
) -> Result<Product>
[src]
&'_ mut self,
product: &'_ str
) -> Result<Product>
👎 Deprecated
Fetch a particular Bazaar product and return their current state.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SkyblockApi<'a>
impl<'a> Send for SkyblockApi<'a>
impl<'a> Sync for SkyblockApi<'a>
impl<'a> Unpin for SkyblockApi<'a>
impl<'a> UnwindSafe for SkyblockApi<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,