pub struct LocationGroup<'a> { /* private fields */ }Expand description
Endpoints for Location
Implementations§
Source§impl LocationGroup<'_>
impl LocationGroup<'_>
Sourcepub async fn get_location(&self, character_id: i32) -> EsiResult<LocationInfo>
pub async fn get_location(&self, character_id: i32) -> EsiResult<LocationInfo>
Get the character’s location.
Sourcepub async fn get_online(&self, character_id: i32) -> EsiResult<OnlineStatus>
pub async fn get_online(&self, character_id: i32) -> EsiResult<OnlineStatus>
Get if the character is currently online.
Sourcepub async fn get_ship(&self, character_id: i32) -> EsiResult<CurrentShip>
pub async fn get_ship(&self, character_id: i32) -> EsiResult<CurrentShip>
Get the player’s current ship.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LocationGroup<'a>
impl<'a> !UnwindSafe for LocationGroup<'a>
impl<'a> Freeze for LocationGroup<'a>
impl<'a> Send for LocationGroup<'a>
impl<'a> Sync for LocationGroup<'a>
impl<'a> Unpin for LocationGroup<'a>
impl<'a> UnsafeUnpin for LocationGroup<'a>
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