pub struct CratesIoClient { /* private fields */ }Implementations§
Source§impl CratesIoClient
impl CratesIoClient
pub fn new(base_url: impl Into<String>) -> Result<Self>
pub fn with_options(options: &CratesIoClientOptions) -> Result<Self>
pub fn latest_stable_version(&self, crate_name: &str) -> Result<String>
Trait Implementations§
Source§impl Clone for CratesIoClient
impl Clone for CratesIoClient
Auto Trait Implementations§
impl !RefUnwindSafe for CratesIoClient
impl !UnwindSafe for CratesIoClient
impl Forget for CratesIoClient
impl Freeze for CratesIoClient
impl Move for CratesIoClient
impl Send for CratesIoClient
impl Sync for CratesIoClient
impl Unpin for CratesIoClient
impl UnsafeUnpin for CratesIoClient
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