#[non_exhaustive]pub struct RepositoryConfig {
pub pypi_repository_config: Option<PyPiRepositoryConfig>,
/* private fields */
}Expand description
Configuration for dependency repositories
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pypi_repository_config: Option<PyPiRepositoryConfig>Optional. Configuration for PyPi repository.
Implementations§
Source§impl RepositoryConfig
impl RepositoryConfig
pub fn new() -> Self
Sourcepub fn set_pypi_repository_config<T>(self, v: T) -> Selfwhere
T: Into<PyPiRepositoryConfig>,
pub fn set_pypi_repository_config<T>(self, v: T) -> Selfwhere
T: Into<PyPiRepositoryConfig>,
Sets the value of pypi_repository_config.
Sourcepub fn set_or_clear_pypi_repository_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<PyPiRepositoryConfig>,
pub fn set_or_clear_pypi_repository_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<PyPiRepositoryConfig>,
Sets or clears the value of pypi_repository_config.
Trait Implementations§
Source§impl Clone for RepositoryConfig
impl Clone for RepositoryConfig
Source§fn clone(&self) -> RepositoryConfig
fn clone(&self) -> RepositoryConfig
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 RepositoryConfig
impl Debug for RepositoryConfig
Source§impl Default for RepositoryConfig
impl Default for RepositoryConfig
Source§fn default() -> RepositoryConfig
fn default() -> RepositoryConfig
Returns the “default value” for a type. Read more
Source§impl Message for RepositoryConfig
impl Message for RepositoryConfig
Source§impl PartialEq for RepositoryConfig
impl PartialEq for RepositoryConfig
impl StructuralPartialEq for RepositoryConfig
Auto Trait Implementations§
impl Freeze for RepositoryConfig
impl RefUnwindSafe for RepositoryConfig
impl Send for RepositoryConfig
impl Sync for RepositoryConfig
impl Unpin for RepositoryConfig
impl UnwindSafe for RepositoryConfig
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