pub struct RegistrySource {
pub version: String,
}
Fields§
§version: String
Trait Implementations§
Source§impl Clone for RegistrySource
impl Clone for RegistrySource
Source§fn clone(&self) -> RegistrySource
fn clone(&self) -> RegistrySource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RegistrySource
impl Debug for RegistrySource
Source§impl Source for RegistrySource
impl Source for RegistrySource
fn install(&self, dependency: &Dependency, destination: &Path) -> Result<()>
fn installed(&self, dependency: &Dependency, destination: &Path) -> bool
fn update_resolver( &self, resolver: &mut Resolver, dependency: &Dependency, destination: &Path, )
Auto Trait Implementations§
impl Freeze for RegistrySource
impl RefUnwindSafe for RegistrySource
impl Send for RegistrySource
impl Sync for RegistrySource
impl Unpin for RegistrySource
impl UnwindSafe for RegistrySource
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