pub struct Configuration {
pub language: String,
pub collection: String,
pub source_root: String,
pub entry_file: String,
pub exec: String,
pub monorepo: bool,
pub compiler_options: CompilerOptions,
pub generate_options: GenerateOptions,
pub projects: BTreeMap<String, ProjectConfiguration>,
pub extra: BTreeMap<String, Value>,
}Fields§
§language: String§collection: String§source_root: String§entry_file: String§exec: String§monorepo: bool§compiler_options: CompilerOptions§generate_options: GenerateOptions§projects: BTreeMap<String, ProjectConfiguration>§extra: BTreeMap<String, Value>Implementations§
Source§impl Configuration
impl Configuration
pub fn default_in(directory: impl AsRef<Path>) -> Self
pub fn merge(self, override_config: ConfigurationOverride) -> Self
Trait Implementations§
Source§impl Clone for Configuration
impl Clone for Configuration
Source§fn clone(&self) -> Configuration
fn clone(&self) -> Configuration
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 Configuration
impl Debug for Configuration
Source§impl Default for Configuration
impl Default for Configuration
Source§impl PartialEq for Configuration
impl PartialEq for Configuration
Source§fn eq(&self, other: &Configuration) -> bool
fn eq(&self, other: &Configuration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Configuration
impl Serialize for Configuration
impl Eq for Configuration
impl StructuralPartialEq for Configuration
Auto Trait Implementations§
impl Freeze for Configuration
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnsafeUnpin for Configuration
impl UnwindSafe for Configuration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.