pub struct LoreConfigBuilder { /* private fields */ }Implementations§
Source§impl LoreConfigBuilder
impl LoreConfigBuilder
pub fn base_dir<P: Into<PathBuf>>(self, path: P) -> Self
pub fn git_enabled(self, enabled: bool) -> Self
pub fn pinned_files(self, files: Vec<String>) -> Self
pub fn reflection_every_n_turns(self, n: usize) -> Self
pub fn auto_commit(self, enabled: bool) -> Self
pub fn build(self) -> Result<LoreConfig>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoreConfigBuilder
impl RefUnwindSafe for LoreConfigBuilder
impl Send for LoreConfigBuilder
impl Sync for LoreConfigBuilder
impl Unpin for LoreConfigBuilder
impl UnsafeUnpin for LoreConfigBuilder
impl UnwindSafe for LoreConfigBuilder
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