pub struct WorktreeConfig {
pub root: Option<String>,
pub auto_init: Option<bool>,
}Expand description
TOML [worktree] section.
Fields§
§root: Option<String>Parent directory where new worktrees are created.
auto_init: Option<bool>Whether to run .tam.toml after creating a worktree.
Trait Implementations§
Source§impl Debug for WorktreeConfig
impl Debug for WorktreeConfig
Source§impl<'de> Deserialize<'de> for WorktreeConfig
impl<'de> Deserialize<'de> for WorktreeConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorktreeConfig
impl RefUnwindSafe for WorktreeConfig
impl Send for WorktreeConfig
impl Sync for WorktreeConfig
impl Unpin for WorktreeConfig
impl UnsafeUnpin for WorktreeConfig
impl UnwindSafe for WorktreeConfig
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