pub struct PurpurClient { /* private fields */ }Implementations§
Source§impl PurpurClient
impl PurpurClient
pub async fn get_versions(&self) -> ConduitResult<Vec<String>>
pub async fn get_latest_build(&self, version: &str) -> ConduitResult<String>
pub fn build_download_url(&self, version: &str, build: &str) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PurpurClient
impl !RefUnwindSafe for PurpurClient
impl Send for PurpurClient
impl Sync for PurpurClient
impl Unpin for PurpurClient
impl UnsafeUnpin for PurpurClient
impl !UnwindSafe for PurpurClient
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