Struct miHoYo_API::client::Client
source · pub struct Client {
pub starrail: StarRailClient,
/* private fields */
}Fields§
§starrail: StarRailClientImplementations§
source§impl Client
impl Client
pub fn new() -> Client
HELP: Someone tell me how to use as method chain without as_mut func
pub fn set_from_env(self, path: Option<&str>) -> Result<Self>
pub async fn get_game_accounts( &self, lang: Option<Languages> ) -> Result<Vec<Account>>
pub async fn get_game_account( &self, game: Option<Game>, lang: Option<Languages> ) -> Result<Vec<Account>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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