pub struct RegistriesSection {
pub default: Option<String>,
pub named: BTreeMap<String, String>,
}Expand description
The [registries] section of an bock.project file.
Fields§
§default: Option<String>URL of the default registry. Falls back to the built-in public registry if unset.
named: BTreeMap<String, String>Named private registries (e.g. internal = "https://...").
Trait Implementations§
Source§impl Clone for RegistriesSection
impl Clone for RegistriesSection
Source§fn clone(&self) -> RegistriesSection
fn clone(&self) -> RegistriesSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegistriesSection
impl Debug for RegistriesSection
Source§impl Default for RegistriesSection
impl Default for RegistriesSection
Source§fn default() -> RegistriesSection
fn default() -> RegistriesSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistriesSection
impl<'de> Deserialize<'de> for RegistriesSection
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
Auto Trait Implementations§
impl Freeze for RegistriesSection
impl RefUnwindSafe for RegistriesSection
impl Send for RegistriesSection
impl Sync for RegistriesSection
impl Unpin for RegistriesSection
impl UnsafeUnpin for RegistriesSection
impl UnwindSafe for RegistriesSection
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