pub struct ValetConfig {
pub work_tree: String,
pub remote: String,
pub bare_path: String,
pub tracked: Vec<String>,
pub branch: String,
}Fields§
§work_tree: StringAbsolute path of the main repo (work-tree)
remote: StringRemote of the valet repo
bare_path: StringAbsolute path of the valet bare repo
tracked: Vec<String>Tracked files/directories
branch: StringValet repo branch (default: “main”)
Trait Implementations§
Source§impl Clone for ValetConfig
impl Clone for ValetConfig
Source§fn clone(&self) -> ValetConfig
fn clone(&self) -> ValetConfig
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 ValetConfig
impl Debug for ValetConfig
Source§impl<'de> Deserialize<'de> for ValetConfig
impl<'de> Deserialize<'de> for ValetConfig
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 ValetConfig
impl RefUnwindSafe for ValetConfig
impl Send for ValetConfig
impl Sync for ValetConfig
impl Unpin for ValetConfig
impl UnsafeUnpin for ValetConfig
impl UnwindSafe for ValetConfig
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