Struct protontweaks_api::Protontweaks
source · pub struct Protontweaks { /* private fields */ }Implementations§
source§impl Protontweaks
impl Protontweaks
pub fn new() -> Self
pub fn new_with_url(url: &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
Trait Implementations§
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