pub struct ModrinthClient { /* private fields */ }Implementations§
Source§impl ModrinthClient
impl ModrinthClient
pub async fn get_project(&self, id: &str) -> ConduitResult<ProjectResponse>
pub async fn get_version( &self, version_id: &str, ) -> ConduitResult<VersionResponse>
pub async fn get_project_versions( &self, id_or_slug: &str, loaders: &[String], game_versions: &[String], ) -> ConduitResult<Vec<VersionResponse>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModrinthClient
impl !RefUnwindSafe for ModrinthClient
impl Send for ModrinthClient
impl Sync for ModrinthClient
impl Unpin for ModrinthClient
impl UnsafeUnpin for ModrinthClient
impl !UnwindSafe for ModrinthClient
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