pub struct RepoConfig {
pub hooks: RepoHooksConfig,
}Expand description
Per-repository configuration loaded from .worktree.toml in the worktree
root.
The file is version-controlled alongside the repo so that every developer
who uses worktree-io gets the same lifecycle hooks automatically.
Fields§
§hooks: RepoHooksConfigLifecycle hooks scoped to this repository.
Implementations§
Trait Implementations§
Source§impl Clone for RepoConfig
impl Clone for RepoConfig
Source§fn clone(&self) -> RepoConfig
fn clone(&self) -> RepoConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 RepoConfig
impl Debug for RepoConfig
Source§impl Default for RepoConfig
impl Default for RepoConfig
Source§fn default() -> RepoConfig
fn default() -> RepoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepoConfigwhere
RepoConfig: Default,
impl<'de> Deserialize<'de> for RepoConfigwhere
RepoConfig: Default,
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 RepoConfig
impl RefUnwindSafe for RepoConfig
impl Send for RepoConfig
impl Sync for RepoConfig
impl Unpin for RepoConfig
impl UnsafeUnpin for RepoConfig
impl UnwindSafe for RepoConfig
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