pub struct GeneratedConfig {
pub path: PathBuf,
pub content: String,
}Expand description
A config file generated by a tool.
Fields§
§path: PathBufAbsolute path where the config should be written.
content: StringFile content.
Trait Implementations§
Source§impl Clone for GeneratedConfig
impl Clone for GeneratedConfig
Source§fn clone(&self) -> GeneratedConfig
fn clone(&self) -> GeneratedConfig
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 moreAuto Trait Implementations§
impl Freeze for GeneratedConfig
impl RefUnwindSafe for GeneratedConfig
impl Send for GeneratedConfig
impl Sync for GeneratedConfig
impl Unpin for GeneratedConfig
impl UnsafeUnpin for GeneratedConfig
impl UnwindSafe for GeneratedConfig
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