[−][src]Struct dota2_webapi_bindings::Dota2Api
The main Dota2Api
of you library works by saving states of all the invoked URLs (you only call the one you need)
language macro for easy implementation in various builder struct
The language to retrieve results in (default is en_us) (see http://en.wikipedia.org/wiki/ISO_639-1 for the language codes (first two characters) and http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for the country codes (last two characters))
language (Optional) (string) : The language to provide output in.
Fields
key: String
Implementations
impl Dota2Api
[src]
pub fn new(key: String) -> Self
[src]
pub fn set_heroes(&mut self) -> &mut GetHeroesBuilder
[src]
pub fn get_heroes(&mut self) -> Result<GetHeroes, Error>
[src]
pub fn set_game_items(&mut self) -> &mut GetGameItemsBuilder
[src]
pub fn get_game_items(&mut self) -> Result<GetGameItems, Error>
[src]
pub fn set_rarities(&mut self) -> &mut GetRaritiesBuilder
[src]
pub fn get_rarities(&mut self) -> Result<GetRarities, Error>
[src]
pub fn set_tournament_prize_pool(
&mut self
) -> &mut GetTournamentPrizePoolBuilder
[src]
&mut self
) -> &mut GetTournamentPrizePoolBuilder
pub fn get_tournament_prize_pool(
&mut self
) -> Result<GetTournamentPrizePool, Error>
[src]
&mut self
) -> Result<GetTournamentPrizePool, Error>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Dota2Api
impl Send for Dota2Api
impl Sync for Dota2Api
impl Unpin for Dota2Api
impl !UnwindSafe for Dota2Api
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<T> Typeable for T where
T: Any,
T: Any,