pub struct BuilderConfig {
pub services: Vec<ServiceSpec>,
pub out_dir: PathBuf,
pub regeneration: RegenerationPolicy,
pub fetcher: Option<Box<dyn DiscoveryFetcher>>,
pub cache_dir: Option<PathBuf>,
}Expand description
Configuration for generate.
Fields§
§services: Vec<ServiceSpec>§out_dir: PathBuf§regeneration: RegenerationPolicy§fetcher: Option<Box<dyn DiscoveryFetcher>>§cache_dir: Option<PathBuf>Optional cache directory for raw Discovery JSON (used when fetch fails).
Auto Trait Implementations§
impl Freeze for BuilderConfig
impl !RefUnwindSafe for BuilderConfig
impl Send for BuilderConfig
impl Sync for BuilderConfig
impl Unpin for BuilderConfig
impl UnsafeUnpin for BuilderConfig
impl !UnwindSafe for BuilderConfig
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