pub struct LocationScopes { /* private fields */ }Expand description
Struct with methods for listing location scopes to request for OAuth2
Implementations§
Source§impl LocationScopes
impl LocationScopes
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new instance of LocationScopes
Sourcepub fn all() -> Self
pub fn all() -> Self
Creates a new instance of LocationScopes with all scopes applied
Sourcepub fn read_location(self) -> Self
pub fn read_location(self) -> Self
Read access to character’s current location
Adds the esi-location.read_location.v1 scope
Sourcepub fn read_online(self) -> Self
pub fn read_online(self) -> Self
Read access to characer’s online status
Adds the esi-location.read_online.v1 scope
Sourcepub fn read_ship_type(self) -> Self
pub fn read_ship_type(self) -> Self
Read access to character’s ship type
Adds the esi-location.read_ship_type.v1 scope
Trait Implementations§
Source§impl Default for LocationScopes
impl Default for LocationScopes
Source§fn default() -> Self
fn default() -> Self
Create a default instance of LocationScopes
Auto Trait Implementations§
impl Freeze for LocationScopes
impl RefUnwindSafe for LocationScopes
impl Send for LocationScopes
impl Sync for LocationScopes
impl Unpin for LocationScopes
impl UnwindSafe for LocationScopes
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