pub struct Mirrors {
pub debian: Option<String>,
pub ubuntu: Option<String>,
pub pypi: Option<String>,
pub npm: Option<String>,
}Expand description
Package mirrors (see Constraints::mirrors).
Fields§
§debian: Option<String>Replaces deb.debian.org/debian in the Debian VMs’ apt sources (debian-security, a
separate archive, is left as it is).
ubuntu: Option<String>Replaces archive.ubuntu.com/ubuntu (and its country and security hosts) in the Ubuntu
VMs’ apt sources.
pypi: Option<String>A Python package index: PIP_INDEX_URL for the machines, /etc/pip.conf on the VMs.
npm: Option<String>An npm registry: NPM_CONFIG_REGISTRY for the machines, /etc/npmrc on the VMs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mirrors
impl<'de> Deserialize<'de> for Mirrors
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Mirrors
impl JsonSchema for Mirrors
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Mirrors
Auto Trait Implementations§
impl Freeze for Mirrors
impl RefUnwindSafe for Mirrors
impl Send for Mirrors
impl Sync for Mirrors
impl Unpin for Mirrors
impl UnsafeUnpin for Mirrors
impl UnwindSafe for Mirrors
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