pub struct CloneConf {
pub host: String,
pub namespace: Option<String>,
pub git_flags: Vec<String>,
pub clone_flags: Vec<String>,
pub pre_clone: Hooks,
pub post_clone: Hooks,
pub repo: Vec<Repo>,
}Fields§
§host: String§namespace: Option<String>Global namespace (org/group/user). Optional — a repo may set its own; every
repo must resolve one (see CloneConf::validate).
git_flags: Vec<String>Raw flags applied BEFORE clone (git-level, e.g. -c k=v).
clone_flags: Vec<String>Raw flags applied AFTER clone for every repo.
pre_clone: HooksCommands run before every repo’s clone.
post_clone: HooksCommands run after every repo’s clone.
repo: Vec<Repo>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CloneConf
impl<'de> Deserialize<'de> for CloneConf
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
impl Eq for CloneConf
impl StructuralPartialEq for CloneConf
Auto Trait Implementations§
impl Freeze for CloneConf
impl RefUnwindSafe for CloneConf
impl Send for CloneConf
impl Sync for CloneConf
impl Unpin for CloneConf
impl UnsafeUnpin for CloneConf
impl UnwindSafe for CloneConf
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.