pub struct Protontweaks { /* private fields */ }Implementations§
Source§impl Protontweaks
impl Protontweaks
pub const fn new() -> Self
pub const fn new_with_url(url: &'static str) -> Self
pub fn to_url(&self, endpoint: &str) -> Url
pub async fn try_apps_list(&self) -> Result<AppsList, String>
pub async fn apps_list(&self) -> AppsList
pub async fn try_apps(&self) -> Result<Vec<MicroApp>, String>
pub async fn apps(&self) -> Vec<MicroApp>
pub async fn try_app_ids(&self) -> Result<Vec<String>, String>
pub async fn app_ids(&self) -> Vec<String>
pub async fn try_app(&self, app_id: &str) -> Result<App, String>
pub async fn app(&self, app_id: &str) -> App
Auto Trait Implementations§
impl Freeze for Protontweaks
impl RefUnwindSafe for Protontweaks
impl Send for Protontweaks
impl Sync for Protontweaks
impl Unpin for Protontweaks
impl UnwindSafe for Protontweaks
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