pub struct Settings {
pub setup: Setup,
pub registry: Registry,
pub docs: Docs,
pub proxy: Proxy,
pub log: Log,
pub local: Local,
pub origin: Origin,
pub postgresql: Postgresql,
pub s3: S3,
}Fields§
§setup: Setup§registry: Registry§docs: Docs§proxy: Proxy§log: Log§local: Local§origin: Origin§postgresql: Postgresql§s3: S3Implementations§
Source§impl Settings
impl Settings
pub fn bin_path(&self) -> PathBuf
pub fn doc_queue_path(&self) -> PathBuf
pub fn sqlite_path(&self) -> PathBuf
pub fn docs_path(&self) -> PathBuf
pub fn base_path(&self) -> PathBuf
pub fn crates_io_bin_path(&self) -> PathBuf
pub fn crates_io_path(&self) -> String
pub fn crates_path(&self) -> String
pub fn crates_path_or_bucket(&self) -> String
pub fn crates_io_path_or_bucket(&self) -> String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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