pub struct Config {
pub codec: Option<CodecConfig>,
pub profiles: Vec<(String, ProfileConfig)>,
}Expand description
config.toml. Everything in it is optional.
Fields§
§codec: Option<CodecConfig>The codec used by any profile that does not name its own.
profiles: Vec<(String, ProfileConfig)>Implementations§
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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