pub struct EveApi { /* private fields */ }Expand description
The main struct you will use.
let client_id = "Your OAuth2 client id".to_string();
let client_secret = "Your OAuth2 client secret".to_string();
let scopes = vec![
"esi-characters.read_blueprints.v1",
"esi-characters.read_blueprints.v1",
"esi-wallet.read_character_wallet.v1",
"esi-search.search_structures.v1",
"esi-markets.read_character_orders.v1",
"publicData",
];
let eve_api = eve_esi_api::EveApi::new(client_id, client_secret, scopes).await?;
let char_id = eve_api.character().character_id;
eve_api.wallet.transactions();
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EveApi
impl !RefUnwindSafe for EveApi
impl Send for EveApi
impl Sync for EveApi
impl Unpin for EveApi
impl !UnwindSafe for EveApi
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