pub struct WomClient {
pub player_client: PlayerClient,
}
Expand description
Wise Old Man Client
Fields§
§player_client: PlayerClient
Implementations§
source§impl WomClient
impl WomClient
sourcepub fn new_with_key(api_key: String) -> Self
pub fn new_with_key(api_key: String) -> Self
Creates a new WOMClient
with an API key
sourcepub fn new_with_base_url(base_url: String, api_key: Option<String>) -> Self
pub fn new_with_base_url(base_url: String, api_key: Option<String>) -> Self
Creates a new WOMClient
with a custom base URL, and optionally an API key.
Used for testing and self hosted/League WOM instances
Auto Trait Implementations§
impl !RefUnwindSafe for WomClient
impl Send for WomClient
impl Sync for WomClient
impl Unpin for WomClient
impl !UnwindSafe for WomClient
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