pub struct MirrorConfig {
pub npm_registry: Option<String>,
pub pypi_index_url: Option<String>,
}Expand description
镜像源配置
Fields§
§npm_registry: Option<String>§pypi_index_url: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MirrorConfig
impl Clone for MirrorConfig
Source§fn clone(&self) -> MirrorConfig
fn clone(&self) -> MirrorConfig
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 MirrorConfig
impl Debug for MirrorConfig
Source§impl Default for MirrorConfig
impl Default for MirrorConfig
Source§fn default() -> MirrorConfig
fn default() -> MirrorConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MirrorConfig
impl RefUnwindSafe for MirrorConfig
impl Send for MirrorConfig
impl Sync for MirrorConfig
impl Unpin for MirrorConfig
impl UnsafeUnpin for MirrorConfig
impl UnwindSafe for MirrorConfig
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